oney / RCTWebRTCDemo

MIT License
215 stars 142 forks source link

Can't get remote stream video #72

Closed mrsantran closed 6 years ago

mrsantran commented 6 years ago
pc.onaddstream = function (event) {
    console.log('onaddstream', event.stream);
    container.setState({info: 'One peer join!'});

    const remoteList = container.state.remoteList;
    remoteList[socketId] = event.stream.toURL();
    container.setState({ remoteList: remoteList });
  };

Can't get remote stream video

mrsantran commented 6 years ago

How i can implementation with RN 0.56. I cant get remote video. Please guide.