[Webkit-unassigned] [Bug 199316] New: addIceCandidate({candidate: "", sdpMLineIndex: 0 })) throws an error

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 28 03:38:21 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=199316

            Bug ID: 199316
           Summary: addIceCandidate({candidate: "", sdpMLineIndex: 0 }))
                    throws an error
           Product: WebKit
           Version: Safari 12
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebRTC
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: daginge at confrere.com
                CC: youennf at gmail.com

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190628/1adbb165/attachment.html>


More information about the webkit-unassigned mailing list