[Webkit-unassigned] [Bug 198887] New: localDescription.sdp does not contain mdns host candidates

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jun 15 03:06:56 PDT 2019


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

            Bug ID: 198887
           Summary: localDescription.sdp does not contain mdns host
                    candidates
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebRTC
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: fippo at appear.in
                CC: youennf at gmail.com

from https://stackoverflow.com/questions/56606608/is-safaris-rtcdatachannel-implementation-completely-broken

Simplified steps to reproduce:
On a site without getUserMedia permission, paste this:
```
const pc = new RTCPeerConnection();
pc.onicecandidate = (e) => console.log(e.candidate)
pc.onicegatheringstatechange = () => {
  if (pc.iceGatheringState === 'complete') {
    console.log(pc.localDescription.sdp);
  }
};
pc.createDataChannel("aint-broken");
pc.createOffer().then(offer => pc.setLocalDescription(offer.sdp));
```
Note that the onicecandidate events shows mdns host candidates but pc.localDescription.sdp does not contain any candidate.

-- 
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/20190615/e58e446e/attachment-0001.html>


More information about the webkit-unassigned mailing list