Would be worth going over some docs as to how the module functions.
Theres some basic examples on here.
But what you would do is run mediaDevices.getUserMedia(); and then grab the result which would be the desired stream variable and then feed it into the peer connection via peerConnection.addStream( localStream );
Iceconnectionstate is remaining @ chaeking, I dont get called onaddstream too.
But I have exchanged descriptions and icecandidate properly . Please help me
Late response but for anyone having the issue where your ice connection state gets stuck on checking you might want to check your stun and turn servers are working correctly.
i am creating peerconnection object then datachannel. After that i am creating an offer and as i am setting local description my react-native app is crashing. Can you help me.I can share you code of both server as well as peer if you want.–> Kindly help me. i am facing this issue from last few weeks.