RESOLVED CONFIGURATION CHANGED Bug 199316
addIceCandidate({candidate: "", sdpMLineIndex: 0 })) throws an error
https://bugs.webkit.org/show_bug.cgi?id=199316
Summary addIceCandidate({candidate: "", sdpMLineIndex: 0 })) throws an error
Dag-Inge Aas
Reported 2019-06-28 03:38:21 PDT
What steps will reproduce the problem? (1) go to https://webrtc.github.io/samples/src/content/peerconnection/pc1/ (2) make a call (3) paste the following into the JS console pc2.addIceCandidate({sdpMLineIndex: 0, candidate: ""}) What is the expected result? The promise resolves. What happens instead? an exception is thrown: OperationError: Expect line: candidate:<candidate-str> This is a problem since Firefox 69 (at least) started generating those candidates. This is a duplicate of issue https://bugs.chromium.org/p/chromium/issues/detail?id=978582. Adapter can provide a fix for this, but we would like to make that fix temporary.
Attachments
Radar WebKit Bug Importer
Comment 1 2021-01-15 13:36:11 PST
youenn fablet
Comment 2 2021-01-17 04:01:48 PST
This seems fixed in latest STP.
Note You need to log in before you can comment on or make changes to this bug.