question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Handle ICE end of candidate

See original GitHub issue

Firefox v68 shipped an update which sends an ICE end of candidates message (bugzilla thread). The offer looks like this:

{candidate: {candidate: "", sdpMLineIndex: 0, sdpMid: "0"}}

This seems to introduce an incompatibility between the latest version of Firefox (68.0) and Chrome (75.0.3770.100). When the offer is received in Chrome, an OperationError is thrown.

In my own testing, this is what I’m seeing: chrome_2019-07-13_16-56-465FQg

I’m using simple-peer@9.3.0 which isn’t the latest so I’ll upgrade and update this thread if it fixes the problem. Error persists on simple-peer@9.4.0.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
samuelmaddockcommented, Jul 14, 2019

@t-mullen Correct. I suspect this is ultimately up to Chrome to support, but it might be nice for simple-peer to smooth over the differences in the meantime.

0reactions
corwin-of-ambercommented, Jul 17, 2019

So the new “end” candidate has event.candidate.candidate: '' instead of event.candidate.candidate:null and Chrome doesn’t support this?

In my Firefox (running on Mac) I observed candidate: "" as well as a null candidate to signify the end of the candidates list.

Read more comments on GitHub >

github_iconTop Results From Across the Web

RTCPeerConnection: icecandidate event - Web APIs | MDN
Indicating the end of a generation of candidates. When an ICE negotiation session runs out of candidates to propose for a given RTCIceTransport ......
Read more >
Handling the process of handling ICE candidates when using ...
At this point you can decide whether to make use of Trickle ICE, where candidates are sent to the remote peer as soon...
Read more >
Delay in ICE candidate collection - Google Groups
While trying to start or answer or a call, it takes 10+ seconds to complete the ice candidate collection. This happens when the...
Read more >
935898 - Handle end-of-candidates (and support ... - Monorail
The blockedon is a real problem, I think we need to rework how to handle end-of-candidates and ICE state updates are surfaced from...
Read more >
Handling ICE candidates | Learning WebRTC
The final piece of the WebRTC signaling puzzle is handling ICE candidates ... Thankfully, our server is designed in a way that can...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found