react-native-wow-rn-live-stream

1.2.1 • Public • Published

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

saurabh.kataria@wowlabz.com
contact@wowlabz.com

License

MIT

Package Sidebar

Install

npm i react-native-wow-rn-live-stream

Weekly Downloads

4

Version

1.2.1

License

MIT

Unpacked Size

806 kB

Total Files

98

Last publish

Collaborators

  • saurabhkataria