Bug 199316
Summary: | addIceCandidate({candidate: "", sdpMLineIndex: 0 })) throws an error | ||
---|---|---|---|
Product: | WebKit | Reporter: | Dag-Inge Aas <daginge> |
Component: | WebRTC | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED CONFIGURATION CHANGED | ||
Severity: | Normal | CC: | webkit-bug-importer, youennf |
Priority: | P2 | Keywords: | InRadar |
Version: | Safari 12 | ||
Hardware: | All | ||
OS: | All |
Dag-Inge Aas
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/73261447>
youenn fablet
This seems fixed in latest STP.