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

Justin Uberti <juberti@google.com> Sun, 02 March 2014 21:49 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 4565A1A0A3D for <rtcweb@ietfa.amsl.com>; Sun, 2 Mar 2014 13:49:25 -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 kelIiLhF8aAp for <rtcweb@ietfa.amsl.com>; Sun, 2 Mar 2014 13:49:23 -0800 (PST)
Received: from mail-ve0-x234.google.com (mail-ve0-x234.google.com [IPv6:2607:f8b0:400c:c01::234]) by ietfa.amsl.com (Postfix) with ESMTP id 464211A0B1A for <rtcweb@ietf.org>; Sun, 2 Mar 2014 13:49:23 -0800 (PST)
Received: by mail-ve0-f180.google.com with SMTP id jz11so2810187veb.25 for <rtcweb@ietf.org>; Sun, 02 Mar 2014 13:49:20 -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=ZVzqUW4dg22FnwnrD9sai+mRkTI3N4nps2XPBvq/NEU=; b=n0TUODiYOijrdyXk941qiE/j3IskFk9fdPp4bBabOTONwiqzfnGFZeIgW9DsgmmKPD dQ6TgeH0tksX5MzLzfIlbhJ1J1fa69KATKJPBDkWejEN5v22FPnVg9/OksZk9GzGGKl9 5mxKDWcvYMqbbf3qjQoliu7sGImT7NB3DPp6w7hMO8KZFMkYQ8i3JEIBopC6SSwHIE6r Glq0rXyx1aU53zYMirHAY7Bwg3SBaLh/+GA07reMtYHtmnFskH6K9N6SGtClEFn5D8MG QRjeF+l7W3jxN4m5pe+wF9HQwGaHKlWsdKhg0wuoi7Fv6GbQc8kr/Z/opAxAlf8BAu4b snjw==
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=ZVzqUW4dg22FnwnrD9sai+mRkTI3N4nps2XPBvq/NEU=; b=IcSl8qYf7eq80/xJQAXGRCHb6WwS+5cvWBM0Ai9p96yzoATuVejMqqqaXMccKvaBE4 p5XLo/qcHyp+tTsPWtxAcO2hxHB5YHF6dJlXdKiZ3kTLVJhwekG8aDOAk39SaWFknsBv qCuqn5mY6hIWK7MQGc2zi7fCyn8bvM9tzOZ4ZTj70WU7wPuj6aui/5tOhHaPOEpbabGj 88ARD91s7Nn2m14qWN9zzz97eqq4gF0l9Z1mLdckdNuA67nwtuMsjblQ3VIGmqvQ2Ndt qND60yUU+fckZzpVbOUJzG71s1rTkoe2Qu5mZAmAMYErNMIpBjyCGNaPVedyVKJ34lrk repg==
X-Gm-Message-State: ALoCoQk96kWFizLzv7qRalgos4rA+gsjQjizncyqSaxy0gVzv91d9avAiXkOLCTSmNIF8SubVfNi0nSiTa01arJpy5Dqc/+2yZVwZGLQz5YmOwvt4KMehWuc7B+kCXlu1ytPl2UNM3NxtN+07VC12C12Pbp5zuhb7tlMTppavC+841TuhevrZM94OC2xmYmIEV1p30qW0+tW
X-Received: by 10.220.133.80 with SMTP id e16mr14192645vct.13.1393796960431; Sun, 02 Mar 2014 13:49:20 -0800 (PST)
MIME-Version: 1.0
Received: by 10.52.89.170 with HTTP; Sun, 2 Mar 2014 13:49:00 -0800 (PST)
In-Reply-To: <7594FB04B1934943A5C02806D1A2204B1D1B55BF@ESESSMB209.ericsson.se>
References: <7594FB04B1934943A5C02806D1A2204B1D1B55BF@ESESSMB209.ericsson.se>
From: Justin Uberti <juberti@google.com>
Date: Sun, 02 Mar 2014 13:49:00 -0800
Message-ID: <CAOJ7v-140hQ1JcUkXe9J1U3Ntnz4-LBHC6mLkGj6zHtHVYQKpA@mail.gmail.com>
To: Christer Holmberg <christer.holmberg@ericsson.com>
Content-Type: multipart/alternative; boundary="001a11362cd4b7479204f3a6a48a"
Archived-At: http://mailarchive.ietf.org/arch/msg/rtcweb/Vdb_7rbuG2BqJFCw9l12VFbaxaQ
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: Sun, 02 Mar 2014 21:49:25 -0000

On Mon, Feb 24, 2014 at 9:07 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.