Subject: [rtcweb] JSEP-06: How to create the second offer where only the port numbers are changed?

From: Christer Holmberg <[email-masked]>
Date: Mon, 24 Feb 2014 17:07:42 +0000

Hi,

As specified in BUNDLE, before the remote peer has indicated support of BUNDLE, all m- lines (including those within to a bundle group) must have unique port numbers.

Then, when the remote peer has indicated support of BUNDLE, a second offer (called the BAS offer) needs to be sent, in which the same port number is assigned to all m- lines within a bundle group.

My question is: how do I create the BAS offer? I don't want to change anything - I just want to get an SDP with the BUNDLE port assigned to all m- lines. Is there a flag in createOffer() for that?

Regards,

Christer