W3C home > Mailing lists > Public > public-webrtc@w3.org > July 2013

Re: sdpMLineIndex required in RTCIceCandidate?

From: Cullen Jennings (fluffy) <fluffy@cisco.com>
Date: Wed, 24 Jul 2013 22:01:39 +0000
To: Philipp Hancke <fippo@goodadvice.pages.de>
CC: "public-webrtc@w3.org" <public-webrtc@w3.org>
Message-ID: <C5E08FE080ACFD4DAE31E4BDBF944EB11360DAB4@xmb-aln-x02.cisco.com>

On Jul 24, 2013, at 12:17 AM, Philipp Hancke <fippo@goodadvice.pages.de> wrote:

> http://dev.w3.org/2011/webrtc/editor/webrtc.html#rtcicecandidate-type
> says that the sdpMid is optional ("If present...") whereas the sdpMLineIndex is assumed to be always there (?).
> 
> Shouldn't it be the other way round since a=mid is required (e.g. by JSEP) and the recent trickle drafts (trickle-ice-01 and trickle-ice-sip-00) seem to have abandoned a=m-line-id?
> 
> If the answer is 'yes' I'd propose moving
> 	sdpMid of type DOMString, , nullable
> in 4.8.1.1 up to the second position and moving the "If present" to the description of the sdpMLineIndex.
> 
> I'd note that given an mid you can calculate the m-line index. So this is not a big issue.
> 


Good point that we should sort this out. 

I think this is one of the details that needs to be sorted out and some of the darts have probably become a bit inconsistent. One case we should keep in mind is what happens when a brewer is given SDP that does not have a=mid lines
Received on Wednesday, 24 July 2013 22:02:23 UTC

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