Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/videosdk-live/videosdk-live-streaming-react-native-api-example
This code sample demonstrates a Video Live Streaming API using react-native.
https://github.com/videosdk-live/videosdk-live-streaming-react-native-api-example
broadcasting hls livestreaming react-native realtime rtmp streaming video video-streaming webrtc
Last synced: 3 months ago
JSON representation
This code sample demonstrates a Video Live Streaming API using react-native.
- Host: GitHub
- URL: https://github.com/videosdk-live/videosdk-live-streaming-react-native-api-example
- Owner: videosdk-live
- Created: 2021-07-26T09:30:04.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-12-16T08:28:47.000Z (about 1 year ago)
- Last Synced: 2024-04-21T05:12:12.600Z (10 months ago)
- Topics: broadcasting, hls, livestreaming, react-native, realtime, rtmp, streaming, video, video-streaming, webrtc
- Language: JavaScript
- Homepage: https://docs.videosdk.live/docs/live-streaming/intro
- Size: 396 KB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Video SDK live streaming react native api example
This code sample demonstrates a [Video Live Streaming API](https://docs.videosdk.live/docs/guide/standard-live-streaming-api-sdk/getting-started) 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.## Features
- [x] RTMP support for live streaming.
- [x] Commpatible with OBS studio, Streamyard etc.
- [x] Adaptive live streaming based on screen resolution and internet bandwidth.
- [x] Record your live streaming for playback.
- [x] support for Android and IOS devices.
- [ ] Private streaming with authentication.
- [ ] Embeded live streaming player.## Prerequisites
You must have the following installed:
- Node JS
- NPM## Getting started
1. Run the authentication server
Follow [videosdk-rtc-nodejs-sdk-example](https://github.com/videosdk-live/videosdk-rtc-nodejs-sdk-example) to run authentication server.2. Clone the repo
```sh
git clone https://github.com/videosdk-live/videosdk-live-streaming-react-native-api-example.git
```3. Copy the `.env.example` file to `.env` file.
```sh
cp .env.example .env
```4. Update the api server url in the `.env` file that points to the authentication server.
```
REACT_APP_SERVER_URL=http://localhost:9000
```5. Install NPM packages
```sh
npm install
```6. Run the app
```sh
npm run start
npm android
npm ios
```For more information, visit [official documentation](https://docs.videosdk.live/docs/guide/standard-live-streaming-api-sdk/getting-started)