react-native-live-stream-rtmp-example
React native live streaming using RTMP.
Server : https://github.com/sieuhuflit/live-stream-rtmp-server
Demo
Streamer | Viewer |
---|---|
Teachnology using
Using react-native-nodemediaclient. Connect with RTMP server
- RTMP Server - Node media server using NodeJS Server
Config
- Config the SocketIO ip address and RTMP server path, change to your IP_ADDRESS, PORT, and PATH_LIVE_STREAM
const socketIOIP = 'http://IP_ADDRESS:PORT';
const rtmpPath = 'rtmp://IP_ADDRESS/PATH_LIVE_STREAM/';
Install package
npm install
Running the App
iOS
react-native run-ios
Android
react-native run-android