0.1.4 • Published 3 years ago

react-native-video-call-v1 v0.1.4

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

dependencies

  1. React Native Camera
  2. Twillio Video React native

install these before running the project

  1. npm install react-native-camera --save

    Append the following lines to android/settings.gradle

    include ':react-native-camera'
    project(':react-native-camera').projectDir = new File(rootProject.projectDir,   '../node_modules/react-native-camera/android')

    Insert the following lines in android/app/build.gradle inside the dependencies block:

    implementation project(':react-native-camera')

    ** and please follow the instructions from this link https://react-native-camera.github.io/react-native-camera/docs/installation

  2. npm install https://github.com/blackuy/react-native-twilio-video-webrtc --save

    ** and please follow the instructions from this link https://github.com/blackuy/react-native-twilio-video-webrtc

usage

  1. import VideoTest from 'react-native-video-call-rc'

and use it

<VideoTest roomName={} accessToken={} setStatus={setStatus} status={status} videoRef={twilioVideoReference} twillioTrack={twillioTrack} setTwillioTrack={setTwillioTrack} onEndButtonPress={_onEndButtonPress}

props

react-native-twilio-video-test

test package for twilio video chat

Installation

npm install react-native-twilio-video-test

Usage

import TwilioVideoTest from "react-native-twilio-video-test";

// ...

const result = await TwilioVideoTest.multiply(3, 7);

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT