This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 26644 - MID in Candidate event attributes
Summary: MID in Candidate event attributes
Status: RESOLVED LATER
Alias: None
Product: WebRTC Working Group
Classification: Unclassified
Component: WebRTC API (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Martin Thomson
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-22 21:28 UTC by Martin Thomson
Modified: 2014-12-15 10:39 UTC (History)
3 users (show)

See Also:


Attachments

Description Martin Thomson 2014-08-22 21:28:51 UTC
http://dev.w3.org/2011/webrtc/editor/webrtc.html#rtcicecandidate-type

It's not clear what the browser's obligations are with respect to sdpMid and sdpMLineIndex.  There is an "If present" attached to sdpMid, which might imply something.

I think that we should always, always include both in events.  And we should require that input include one or other.  (And we should work out which takes precedence, or surface an error if both are present.)

Did we agree to remove the whole null candidate thing by surfacing an ICE state change?
Comment 1 Justin Uberti 2014-09-04 00:49:24 UTC
We did agree to surface an ICE state change. I think we need to keep onicecandidate(null) for backcompat though.
Comment 2 Justin Uberti 2014-10-31 18:15:18 UTC
Plan is to make a PR to add onicegatheringstatechange and leave onicecandidate(null)
Comment 3 Harald Alvestrand 2014-10-31 18:31:14 UTC
WebRTC implementations will always generate MID.
(if the JSEP docs don't already say so, they should be fixed.)

There should be a separate bug for the icegatheringstatechange event.
Comment 4 Martin Thomson 2014-11-04 23:11:29 UTC
https://github.com/w3c/webrtc-pc/pull/27

As it turns out onicecandidate(null) wasn't documented, or even permitted.
Comment 5 Dominique Hazael-Massieux 2014-12-15 10:39:37 UTC
WebRTC API bugs have been moved to github issues: https://github.com/w3c/webrtc-pc/issues

Please subscribe to the issues you want to keep watching.