W3C home > Mailing lists > Public > public-webrtc@w3.org > May 2017

[webrtc-pc] RTCIceCandidate constructor should not require sdpMid/sdpMLineIndex

From: Philip Jägenstedt via GitHub <sysbot+gh@w3.org>
Date: Fri, 05 May 2017 09:56:30 +0000
To: public-webrtc@w3.org
Message-ID: <issues.opened-226525702-1493978188-sysbot+gh@w3.org>
foolip has just created a new issue for https://github.com/w3c/webrtc-pc:

== RTCIceCandidate constructor should not require sdpMid/sdpMLineIndex ==
https://w3c.github.io/webrtc-pc/#dom-rtcicecandidate

Here's a small test for how the constructor behaves in current implementation:
https://jsbin.com/qiloyuf/edit?html,output

Testing in Chrome, Edge and Firefox. None throw for missing sdpMid/sdpMLineIndex, but:
 * Chrome requires candidate to be a non-empty string
 * Edge doesn't require any arguments at all
 * Firefox requires candidate to be present, but an empty string is OK

The safest way to align the spec with this is to require no arguments at all, matching Edge.

Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1166 using your GitHub account
Received on Friday, 5 May 2017 09:56:38 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 15:19:50 UTC