i am connecting peer from mobile to web, here i explain my flow and where the problems occurs for me
from mobile i make a call to web client (both offer and candidate sent)
web client received the offer and candidate
web client send answer to mobile client (answer and candidate sent)
mobile client received the answer and candidate
mobile client received remote stream which is streaming in emulator but not streaming in mobile
My code is
yourConn.onaddstream = function (event) {
//here i received remote stream in mobile device too but not streaming
this.setState({ remotestream: event.stream.toURL() });
};
The issue is not with react-native-webrtc npm, happened because of ice candidates shared in wrong flow. It is rectified a long back sorry to reply late and sad thing is no answer from package managers or group admins then why you guys are opening group for issues.