Open lll101010 opened 4 years ago
is work with firefox?
is work with firefox?
I created this simple CodePen demo and it seems not working on Firefox 78.0.2 https://codepen.io/ozgurg/pen/mdVKYEr
it wont work on firefox either, cause he using foundation
if (
candidate.protocol== 'udp') { _id = **candidate.foundation** promises.forEach(resolve => resolve(_id)) promises.length = 0 }
protocol and foundation are not implemented in firefox;
this is how the candidate attribute looks like in firefox
{ candidate: "candidate:0 1 UDP 2122252543 7f0368cf-8c84-bb48-8729-4a6d9a73192f.local 62035 typ host", sdpMLineIndex: 0, sdpMid: "0", usernameFragment: "44883b9b", }
in chrome
{ address: "192.168.1.42" candidate: "candidate:3747612131 1 tcp 1518280447 192.168.1.42 9 typ host tcptype active generation 0 ufrag iRYK network-id 1 network-cost 10" component: "rtp" foundation: "3747612131" port: 9 priority: 1518280447 protocol: "tcp" relatedAddress: null relatedPort: null sdpMLineIndex: 1 sdpMid: "1" tcpType: "active" type: "host" usernameFragment: "iRYK" }
so this is why it wont work on firefox.
I can't get an ID using "biri" on iOS as well. (iOS 13.5.1, Safari). Unfortunately, WebRTC is not fully supported on iOS, that should be the reason for that.