This code sample demonstrates a Video Live Streaming API using react native.
- Built for serverless live broadcasting experience.
- Scale it up to millions of the channels and users at the same time.
- Supports live playback
- Easy to connect with any social media live streaming API.
- Low latency across the globe.
- Design for mobile streaming experience.
- RTMP support for live streaming.
- Commpatible with OBS studio, Streamyard etc.
- Adaptive live streaming based on screen resolution and internet bandwidth.
- Record your live streaming for playback.
- support for Android and IOS devices.
- Private streaming with authentication.
- Embeded live streaming player.
You must have the following installed:
- Node JS
- NPM
-
Run the authentication server Follow videosdk-rtc-nodejs-sdk-example to run authentication server.
-
Clone the repo
git clone https://github.com/videosdk-live/videosdk-live-streaming-react-native-api-example.git
-
Copy the
.env.example
file to.env
file.cp .env.example .env
-
Update the api server url in the
.env
file that points to the authentication server.REACT_APP_SERVER_URL=http://localhost:9000
-
Install NPM packages
npm install
-
Run the app
npm run start npm android npm ios
For more information, visit official documentation