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

Justin Uberti <juberti@google.com> Mon, 03 March 2014 13:31 UTC

Return-Path: <juberti@google.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 0DEA31A0145 for <rtcweb@ietfa.amsl.com>; Mon, 3 Mar 2014 05:31:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.925
X-Spam-Level:
X-Spam-Status: No, score=-1.925 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-0.547, 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 qUJF8ncb5GZ6 for <rtcweb@ietfa.amsl.com>; Mon, 3 Mar 2014 05:31:27 -0800 (PST)
Received: from mail-vc0-x235.google.com (mail-vc0-x235.google.com [IPv6:2607:f8b0:400c:c03::235]) by ietfa.amsl.com (Postfix) with ESMTP id 1BF0F1A0139 for <rtcweb@ietf.org>; Mon, 3 Mar 2014 05:31:26 -0800 (PST)
Received: by mail-vc0-f181.google.com with SMTP id lg15so3500739vcb.26 for <rtcweb@ietf.org>; Mon, 03 Mar 2014 05:31:23 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=WoqBwtsjKd0j5upjJDmzJP7PI2If2hu+2fU/e5rOAWE=; b=XXmAZnEDAUWcdOxFwKSUw18veQcmWhZaYUHv7qa1y7JUU+dEjuSHTouMAo+LOVHMX6 mN12jc9u42SKjMIw0V5moEd59/MHZwSsx4NrvJJIPRoZrX3/NCzdP87s+5CT383OVqrg mKSoiZPfbL76tMbEAglK5fVnZRoEMqRYViwMm3OifoyRmMtAIMsvz5rGYcYWwMaC9DRg PNDkwfQzbswSGtZ2cJwXLzDW+PU/kmHicuniy7vfREJ/+bHXro3bCZYwVRzRWxDkIJUg TpmDsJZWlBqfmuchL59mJkjqzQeO0gXy2yOEEfdiAG+oXQHveii3HukUfuY8V8BH49mK J7NQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=WoqBwtsjKd0j5upjJDmzJP7PI2If2hu+2fU/e5rOAWE=; b=HUE8GBbJK1B08BR1bNQWyPLBAVM7VW8mttakbQaggY+xbp1g4SrGRxRP6+ljcZbPbx R+sIl1J2RG3AvOKww6b5tUIx8c4/dCbeySIJbC9BD44ida3aCqnt9USIQ8rilMMfOQTz /25pm6VFpeBQBtOsCi8uNqsIN8DCEsl1elrPgJ+apcScWADwpM1r7hr6a8BpVQHkpJjf CxLGApGRemEl9dA07/YOm9tAIumVbfpv4b+19cnSS3vPdAW4KxV81jShWWgkzxwnPZ72 YUFrQukBZsaRg5sXPxD1ASV6ulBaODGtiwBSI4c5cKJ1XZsim66u7MbC75Y8TND7bvBf yRPg==
X-Gm-Message-State: ALoCoQmiM4ktu2FuvOSJaqPtiVJFv32W+ETV0LyvPG4eGAOrTJ7egvTGuSnmDCzPb9csldvkdgD7qowBzLE11RxFfgeVOk4L+hQ9CkR29GFzXNCdvMOaKCstzsGKgRgPt70NGCpEzQrj02DrlUQfqVb+QjCo8d0JR8HQGmuwZ1QPn1959LIAKoT+oJ/GxvYtzxds6rS/vYZs
X-Received: by 10.220.11.141 with SMTP id t13mr7217639vct.30.1393853483881; Mon, 03 Mar 2014 05:31:23 -0800 (PST)
MIME-Version: 1.0
Received: by 10.52.89.170 with HTTP; Mon, 3 Mar 2014 05:31:03 -0800 (PST)
In-Reply-To: <7594FB04B1934943A5C02806D1A2204B1D1C5BDE@ESESSMB209.ericsson.se>
References: <7594FB04B1934943A5C02806D1A2204B1D1B55BF@ESESSMB209.ericsson.se> <CAOJ7v-140hQ1JcUkXe9J1U3Ntnz4-LBHC6mLkGj6zHtHVYQKpA@mail.gmail.com> <7594FB04B1934943A5C02806D1A2204B1D1C5BDE@ESESSMB209.ericsson.se>
From: Justin Uberti <juberti@google.com>
Date: Mon, 03 Mar 2014 05:31:03 -0800
Message-ID: <CAOJ7v-06ZWL9yCGD0UBcosNiDi++eTuAxYH=s-8Z4cPtHegqdw@mail.gmail.com>
To: Christer Holmberg <christer.holmberg@ericsson.com>
Content-Type: multipart/alternative; boundary="001a11c3c970c6bb2904f3b3cdb3"
Archived-At: http://mailarchive.ietf.org/arch/msg/rtcweb/hvgw6ET7r2_UhfzxY5jCaGgb7r8
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:31:32 -0000

On Mon, Mar 3, 2014 at 2:30 AM, Christer Holmberg <
christer.holmberg@ericsson.com> wrote:

>  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?