On Tue, Dec 8, 2015 at 2:28 PM, Alexander Abagian <[email protected]> wrote:
> If I add an extra m-line to remote descrition, I'm getting a "Wrong SDP: > Offer and answer have different number of m-lines (2 vs 3)" error. I don't > understand why must they be the same size. If I'm sending a single video > stream what should restrict me from receiving two ones ? > > Actually the third m-line is needed for the browser to accept PLI packets > which are coming with SSRC different from the peers SSRC (the server > produces PLI packets with SSRC unique for a conference). And it works for > Chrome. If Chrome is allowing the answerer to add a third m= line, then it's totally not complying with RFC 3264 and that's a defect in Chrome. > I guess If I add some addidional m-line for the offer, I'll also get some > similar error - Firefox is not very flexible in manual SDP modifying. > Making this kind of change is forbidden by JSEP: http://rtcweb-wg.github.io/jsep/#rfc.section.6 If Chrome allows you to do that, then it is noncompliant there as well. -Ekr ________________ > _______________________________ > dev-media mailing list > [email protected] > https://lists.mozilla.org/listinfo/dev-media > _______________________________________________ dev-media mailing list [email protected] https://lists.mozilla.org/listinfo/dev-media

