<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>26644</bug_id>
          
          <creation_ts>2014-08-22 21:28:51 +0000</creation_ts>
          <short_desc>MID in Candidate event attributes</short_desc>
          <delta_ts>2014-12-15 10:39:37 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebRTC Working Group</product>
          <component>WebRTC API</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>LATER</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Martin Thomson">martin.thomson</reporter>
          <assigned_to name="Martin Thomson">martin.thomson</assigned_to>
          <cc>harald</cc>
    
    <cc>juberti</cc>
    
    <cc>public-webrtc</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>110491</commentid>
    <comment_count>0</comment_count>
    <who name="Martin Thomson">martin.thomson</who>
    <bug_when>2014-08-22 21:28:51 +0000</bug_when>
    <thetext>http://dev.w3.org/2011/webrtc/editor/webrtc.html#rtcicecandidate-type

It&apos;s not clear what the browser&apos;s obligations are with respect to sdpMid and sdpMLineIndex.  There is an &quot;If present&quot; 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?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>110965</commentid>
    <comment_count>1</comment_count>
    <who name="Justin Uberti">juberti</who>
    <bug_when>2014-09-04 00:49:24 +0000</bug_when>
    <thetext>We did agree to surface an ICE state change. I think we need to keep onicecandidate(null) for backcompat though.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>114386</commentid>
    <comment_count>2</comment_count>
    <who name="Justin Uberti">juberti</who>
    <bug_when>2014-10-31 18:15:18 +0000</bug_when>
    <thetext>Plan is to make a PR to add onicegatheringstatechange and leave onicecandidate(null)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>114396</commentid>
    <comment_count>3</comment_count>
    <who name="Harald Alvestrand">harald</who>
    <bug_when>2014-10-31 18:31:14 +0000</bug_when>
    <thetext>WebRTC implementations will always generate MID.
(if the JSEP docs don&apos;t already say so, they should be fixed.)

There should be a separate bug for the icegatheringstatechange event.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>114526</commentid>
    <comment_count>4</comment_count>
    <who name="Martin Thomson">martin.thomson</who>
    <bug_when>2014-11-04 23:11:29 +0000</bug_when>
    <thetext>https://github.com/w3c/webrtc-pc/pull/27

As it turns out onicecandidate(null) wasn&apos;t documented, or even permitted.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>116323</commentid>
    <comment_count>5</comment_count>
    <who name="Dominique Hazael-Massieux">dom</who>
    <bug_when>2014-12-15 10:39:37 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>