onIceCandidate do not create any candidate for Video
See original GitHub issueAfter Invoke createOffer
, I will receive onIceCandidate
event, but it only add candidate for audio. there are no candidate for video. It works okay in 1.54.7, but failed from 1.57.0.
- React Native version: 0.44.3
- Plugin version: 1.57.0, 1.57.1,1.58.1
- OS: 10.3.1/ iPhone
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:17 (8 by maintainers)
Top Results From Across the Web
RTCPeerConnection.onicecandidate not fire - Stack Overflow
3)Broadcaster can receive answer, set remote description, but I could not create ice candidate. Any insight why the RTCPeerConnection.
Read more >Local ICE candidate not generated for 1-1 video call using ...
After debugging we found out that local ice candidate is not being generated. peer.onicecandidate = function (event) { console.log("Generating Local ICE ...
Read more >RTCPeerConnection: icecandidate event - Web APIs | MDN
Contains the RTCIceCandidate containing the candidate associated with the event, or null if this event indicates that there are no further ...
Read more >WebRTC for Beginners | Muaz Khan
In simple words: onicecandidate returns locally generated ICE candidates so you can pass them over other peer(s) via XHR or Socket. "locally-generated" means ......
Read more >186302 – iOS does not call onIceCandidate - WebKit Bugzilla
I can create a data channels for the following: - MacOS Safari 11.1.1 (on older ... Android (always worked) However onIceCandidate is never...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Any updates on this?
I have the same issue “react”: “16.0.0-alpha.12”, “react-native”: “^0.46.4”, “react-native-webrtc”: “git+https://git@github.com/oney/react-native-webrtc.git”,
Thanks @havardholvik. That looks correct as per the max-bundle policy: https://bugs.chromium.org/p/webrtc/issues/detail?id=6132 The M58 SDP is using the max-bundle policy, but it doesn’t seem to be advertising it 😒 https://bugs.chromium.org/p/webrtc/issues/detail?id=4674&thanks=4674&ts=1432055914
I guess this (the default policy) changed internally in libwebrtc, since we didn’t do anything intentional to this effect in this plugin.
Let’s try something (untested):
Edit this file and add the following after the highlighted line: https://github.com/oney/react-native-webrtc/blob/fcb20492bc49122d93993ae5083076f5ef6284ee/ios/RCTWebRTC/RCTConvert%2BWebRTC.m#L90
The change is for iOS only. Once we confirm the fix I can look into Android.
Last, question: what is your other endpoint?