On 2/12/2016 11:58 AM, Byron Campen wrote:
On 2/12/16 9:26 AM, Alexander Abagian wrote:
Thank you for the answer.
I've changed the order of m-sections from all-audio-first (I've done
it so because have seen this requirement it in some RFC) to
audio-video pairing with adding a new m-secions to the end of the
SDP, and it helps.
But anyway when I'm removing a participant, I'm receiving a error
"Wrong SDP: New remote description has fewer m-sections than the
previous remote description.". How should I form remote SDP in this
case ? Leaving these dead m-sections, just assigning zero tp their
ports ?
Yeah, you can either disable the extra m-sections (set a port of
0), or you can make them a=inactive. Removing m-sections is forbidden
by the rules of SDP offer/answer.
Right: You can never remove m-sections. You should not reorder them
either. You should not (though in theory I think you can) change an
m-section type (audio/video/applications); too much danger of code
getting it wrong since no one tests it - and there's very little win to
doing so.
And there's nothing that says audio should come first, though that's
generally common.
--
Randell Jesup, Mozilla
_______________________________________________
dev-media mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-media