react-native-wow-rn-live-stream
v1.2.1
Published
A custom React Native live stream component using Jitsi Meet SDK wrapper for React Native.
Downloads
8
Maintainers
Readme
react-native-wow-rn-live-stream
Live streaming component which is a custom wrapper on top of React Native Jitsi (https://github.com/skrafft/react-native-jitsi-meet)
Installation
$ npm install react-native-wow-rn-live-stream --save
Usage
import { LiveStreamComp } from 'react-native-wow-rn-live-stream';
import { HOST, ATTENDEE} from 'react-native-wow-rn-live-stream'; //User Types
<LiveStreamComp
callUrl={url}
user={userType}
userName={userName}
email={email}
userImageUrl={userImageUrl}
onCallEnded={} // Callback when the stream has ended/>
You can set the base URL of self-hosted jitsi server
import { setBaseUrl } from 'react-native-wow-rn-live-stream';
setBaseUrl("YOUR_CUSTOM_URL");
A complete working example is attached in the repo.
Contact Us
[email protected]
[email protected]