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

Christer Holmberg <christer.holmberg@ericsson.com> Mon, 03 March 2014 13:48 UTC

Return-Path: <christer.holmberg@ericsson.com>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DC4781A0197 for <rtcweb@ietfa.amsl.com>; Mon, 3 Mar 2014 05:48:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.85
X-Spam-Level:
X-Spam-Status: No, score=-3.85 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_SE=0.35, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id R5fwujUmWQ2V for <rtcweb@ietfa.amsl.com>; Mon, 3 Mar 2014 05:48:35 -0800 (PST)
Received: from mailgw1.ericsson.se (mailgw1.ericsson.se [193.180.251.45]) by ietfa.amsl.com (Postfix) with ESMTP id E00E71A0171 for <rtcweb@ietf.org>; Mon, 3 Mar 2014 05:48:32 -0800 (PST)
X-AuditID: c1b4fb2d-b7f5d8e000002a7b-53-5314882cf974
Received: from ESESSHC002.ericsson.se (Unknown_Domain [153.88.253.124]) by mailgw1.ericsson.se (Symantec Mail Security) with SMTP id 16.C9.10875.C2884135; Mon, 3 Mar 2014 14:48:28 +0100 (CET)
Received: from ESESSMB209.ericsson.se ([169.254.9.216]) by ESESSHC002.ericsson.se ([153.88.183.24]) with mapi id 14.02.0387.000; Mon, 3 Mar 2014 14:48:27 +0100
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Justin Uberti <juberti@google.com>
Thread-Topic: JSEP-06: How to create the second offer where only the port numbers are changed?
Thread-Index: Ac8xgmHR3mZq1KQqQbqrDgGDhayzRAE1nSgAABypJXAABD1xgAACqajg
Date: Mon, 03 Mar 2014 13:48:27 +0000
Message-ID: <7594FB04B1934943A5C02806D1A2204B1D1C63D2@ESESSMB209.ericsson.se>
References: <7594FB04B1934943A5C02806D1A2204B1D1B55BF@ESESSMB209.ericsson.se> <CAOJ7v-140hQ1JcUkXe9J1U3Ntnz4-LBHC6mLkGj6zHtHVYQKpA@mail.gmail.com> <7594FB04B1934943A5C02806D1A2204B1D1C5BDE@ESESSMB209.ericsson.se> <CAOJ7v-06ZWL9yCGD0UBcosNiDi++eTuAxYH=s-8Z4cPtHegqdw@mail.gmail.com>
In-Reply-To: <CAOJ7v-06ZWL9yCGD0UBcosNiDi++eTuAxYH=s-8Z4cPtHegqdw@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [153.88.183.148]
Content-Type: multipart/alternative; boundary="_000_7594FB04B1934943A5C02806D1A2204B1D1C63D2ESESSMB209erics_"
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrLLMWRmVeSWpSXmKPExsUyM+Jvja5uh0iwwRJhi61ThSzW/mtnd2Dy WLCp1GPJkp9MAUxRXDYpqTmZZalF+nYJXBlT13awFPzwqDg8awtTA+MXty5GTg4JAROJy69e MEPYYhIX7q1nA7GFBA4xSkxaWtLFyAVkL2aUODC9m7WLkYODTcBCovufNkiNiICaxMNZu1hB bGYBdYk7i8+xg9jCAvESX28+ZIKoSZBY92k6C4TtJrHo5Xyw+SwCKhIv236wgIzkFfCV6N3G ArFqPpPEittzwGZyCgRKNBzsBOtlBLrt+6k1TBC7xCVuPZnPBHGzgMSSPeeh7heVePn4HyuE rSTRuOQJ2MnMAvkS35q5QMK8AoISJ2c+YZnAKDoLyaRZCFWzkFRBhDUl1u/Sh6hWlJjS/ZAd wtaQaJ0zlx1ZfAEj+ypG9tzEzJz0csNNjMAoOrjlt+4OxlPnRA4xSnOwKInzfnjrHCQkkJ5Y kpqdmlqQWhRfVJqTWnyIkYmDU6qBcQrzAibXPxMSdokmLix68OjVnJe9e3oil7ns3F7wy3Cv c4DqxQ1rmWVbnRVPM+54/LPy4Iu+5TX3F6Yuf7THu3fiTuX4Bo8/r0sq4qK0YnetPCU55/1W Edcntu/CFhw/sGPJH+lgh7Pnnl00fSMp3sJxfYvmzyd/H+6oF/13bF35mXcFNz99SpimxFKc kWioxVxUnAgAbd5YjXACAAA=
Archived-At: http://mailarchive.ietf.org/arch/msg/rtcweb/pcMfE8Xb1F4r8MTI0uIGEJihsQA
Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>
Subject: Re: [rtcweb] JSEP-06: How to create the second offer where only the port numbers are changed?
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Real-Time Communication in WEB-browsers working group list <rtcweb.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/rtcweb/>
List-Post: <mailto:rtcweb@ietf.org>
List-Help: <mailto:rtcweb-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Mar 2014 13:48:38 -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?
The implementation knows that any offers that are created after the BUNDLE answer should have the same port numbers. So, the app could push the createOffer button once it receives the answer if it wanted to ensure this happened immediately. Otherwise, there will be an onnegotiationneeded event once ICE completes, and the offer sent at that time will have the updated ports.
When I call createOffer(), can I be ensure that only the port values will change?

No. Why would this be necessary?

Because the only thing I want to do is to send a new offer, with the same port number in each m- line. I don’t want anything else to change.

Regards,

Christer