React native live streaming using RTMP.
Server : https://github.com/sieuhuflit/live-stream-rtmp-server
Streamer | Viewer |
---|---|
Using react-native-nodemediaclient. Connect with RTMP server
- RTMP Server - Node media server using NodeJS Server
- 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/';
npm install
react-native run-ios
react-native run-android