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 14:13 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 447721A012A for <rtcweb@ietfa.amsl.com>; Mon, 3 Mar 2014 06:13:08 -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 04OB4OHe8G6g for <rtcweb@ietfa.amsl.com>; Mon, 3 Mar 2014 06:13:06 -0800 (PST)
Received: from mail-vc0-x22a.google.com (mail-vc0-x22a.google.com [IPv6:2607:f8b0:400c:c03::22a]) by ietfa.amsl.com (Postfix) with ESMTP id 59C981A0116 for <rtcweb@ietf.org>; Mon, 3 Mar 2014 06:13:06 -0800 (PST)
Received: by mail-vc0-f170.google.com with SMTP id hu8so3692146vcb.1 for <rtcweb@ietf.org>; Mon, 03 Mar 2014 06:13:03 -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=FKTif9Ta+/Y4RiZWNeIz0Mxvu0ifKvnZx1LqYvxjCE4=; b=ErhRO+hdWRFf71Dh9V1HyYXDjXl6rQ6I+Js9jjlC2BT2oVhaUkUyq3o/MRHpjJN/dI 5bz1lN71mSV+bj5Mt89D8Wz4udE0/urP0YSYBd1hW2o9R/40vUrZvW9xKdkJX1eR0rZw yU0xbvdGj5tizWlUoIpI4ZePiBcpIF1mYGQf33WGQFsvwOu1L6mQbaMtf6ki2OJU9lqm VPAaYgNzdMKvjlLh1mjqDGI6qXKGTjQzkmrrB2Dz9JKzmj7FGByXhWWthLrAeKDbR8Yg EowhNqpWl1f3o1B0pFXsjJ33D4DxolEgVvY9UigEOXYofBKhjfMNH/bRtlnqlyOu0ZqZ 0Mig==
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=FKTif9Ta+/Y4RiZWNeIz0Mxvu0ifKvnZx1LqYvxjCE4=; b=SqIug3OytaJyKtx+AU9XIX7NJ8ScGinH7dX3veTT0iz6XajfF8duKCNcyp4Eb2NaRe sTMlxER+1SZZ6iiKVvB9o7aJYx+ggVImTBSDVXB5KFvi/XWCLkFOhHbCJfOTYos3JPQX OgyIBBQoE2OW09myhYb44XKwLMs1t94glgoyR3W6wXFVKSYqsNo4iNTU3BqVTG3KbM46 quhBXQsnN3RMq2eOJG7tVhRtDdVPz/QWPhpjy8HXO0bhlUQ2/KBF32eY6ee3gth4cVpt 1A9auIe/j0NYNqu+Rfngo3atJxfamHYTjZzLtkN5N6ZetGDVonSjtHb604rU5ShEl/fi N4VA==
X-Gm-Message-State: ALoCoQm/zBLWi3TB1Yyoi8MHr3DHhhKzG8aDoRsMXbAvFO6u8WlK6n2pITZHPQZ28JIZnMkMlRG01sCh0ZmT1uPYObi3AMYp+bh5wBMSS6wzbRcANI7zbGuvDl72KHi2ps3d1LTjs+eYFjMEQo26PR2oPd9UwOjMwjuejTannN6BsC4AVGWfb08IDOHfQPhkipg95cKIxOXs
X-Received: by 10.52.83.229 with SMTP id t5mr115743vdy.91.1393855983178; Mon, 03 Mar 2014 06:13:03 -0800 (PST)
MIME-Version: 1.0
Received: by 10.52.89.170 with HTTP; Mon, 3 Mar 2014 06:12:43 -0800 (PST)
In-Reply-To: <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> <7594FB04B1934943A5C02806D1A2204B1D1C63D2@ESESSMB209.ericsson.se>
From: Justin Uberti <juberti@google.com>
Date: Mon, 03 Mar 2014 06:12:43 -0800
Message-ID: <CAOJ7v-0x+o-5O_D87DgJ8zXN1vhotOHUBsmWJ+OgLX2yVhtTiQ@mail.gmail.com>
To: Christer Holmberg <christer.holmberg@ericsson.com>
Content-Type: multipart/alternative; boundary="001a1136b114beee7e04f3b46297"
Archived-At: http://mailarchive.ietf.org/arch/msg/rtcweb/1oJ2kmUEZ1o8ogP8w4iqr17wgF8
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 14:13:08 -0000
But why is it a problem if other things change (e.g. a=remote-candidates is set)? On Mon, Mar 3, 2014 at 5:48 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? > > > > 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 >
- [rtcweb] JSEP-06: How to create the second offer … Christer Holmberg
- Re: [rtcweb] JSEP-06: How to create the second of… Justin Uberti
- Re: [rtcweb] JSEP-06: How to create the second of… Christer Holmberg
- Re: [rtcweb] JSEP-06: How to create the second of… Justin Uberti
- Re: [rtcweb] JSEP-06: How to create the second of… Christer Holmberg
- Re: [rtcweb] JSEP-06: How to create the second of… Justin Uberti
- Re: [rtcweb] JSEP-06: How to create the second of… Christer Holmberg
- Re: [rtcweb] JSEP-06: How to create the second of… Justin Uberti