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

[webrtc-pc] RTCPeerConnectionIceEvent constructor validation

From: Soares Chen via GitHub <sysbot+gh@w3.org>
Date: Mon, 22 May 2017 04:46:09 +0000
To: public-webrtc@w3.org
Message-ID: <issues.opened-230283666-1495428363-sysbot+gh@w3.org>
soareschen has just created a new issue for https://github.com/w3c/webrtc-pc:

== RTCPeerConnectionIceEvent constructor validation ==
In the description for `RTCPeerConnectionIceEvent`:

> When firing an RTCPeerConnectionIceEvent event that contains a RTCIceCandidate object, it must include values for both sdpMid and sdpMLineIndex.

It is not very clear when does the requirement applies. Does this mean that the constructor would perform the validation and throw an error if either `sdpMid` or `sdpMLineIndex` is null? Or does this mean that an `RTCPeerConnectionIceEvent` event object that is fired from the `icecandidate` event is guaranteed by the browser to always have both `sdpMid` and `sdpMLineIndex` be not null?

Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1232 using your GitHub account
Received on Monday, 22 May 2017 04:46:21 UTC

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