Server page: http://live-stream-webrtc-server.herokuapp.com
Server github : https://github.com/sieuhuflit/live-stream-webrtc-server
const connect = () => {
socket = io.connect(
'https://live-stream-webrtc-server.herokuapp.com',
// 'http://192.168.10.155:4443',
{ transports: ['websocket'] }
);
};
npm install
node app.js
- Run iOS
react-native run-ios
Run Androidreact-native run-android
- Note : Just run on device, not working on simulator