sdpMLineIndex required in RTCIceCandidate?

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.

Received on Wednesday, 24 July 2013 06:17:42 UTC