Re: [rtcweb] JSEP-04: Some comments on Section 5.2.1. and 5.2.2 (19th september)

Justin Uberti <juberti@google.com> Fri, 27 September 2013 18:03 UTC

Return-Path: <juberti@google.com>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A5A0721F9EC8 for <rtcweb@ietfa.amsl.com>; Fri, 27 Sep 2013 11:03:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.852
X-Spam-Level:
X-Spam-Status: No, score=-1.852 tagged_above=-999 required=5 tests=[AWL=0.125, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OxmiXcL2Icdv for <rtcweb@ietfa.amsl.com>; Fri, 27 Sep 2013 11:03:28 -0700 (PDT)
Received: from mail-ie0-x233.google.com (mail-ie0-x233.google.com [IPv6:2607:f8b0:4001:c03::233]) by ietfa.amsl.com (Postfix) with ESMTP id D87C821F9F86 for <rtcweb@ietf.org>; Fri, 27 Sep 2013 11:03:24 -0700 (PDT)
Received: by mail-ie0-f179.google.com with SMTP id e14so4816519iej.10 for <rtcweb@ietf.org>; Fri, 27 Sep 2013 11:03:24 -0700 (PDT)
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=+EO87Dx5WVGz20LGtjDFMssS1mJ8b89+3gbcbkQVYqo=; b=Hba9XZbLmJFDRYyArNrLd/1DcH5Af7kIJwckHRmVstn+mJfpoMzmuzopz6NXgecy3x qIZI3kPlcm8WyyVpJKoOGDUDiIqfA4Pxa+pNUSWuQ4vpPMwEkaqeMpP9gN3lnCr+T7X3 0LaoQNj3WJ8YBcm270i2CMyJt7Pw2WNE2+kDGDbM2UcXQ9sNnc8ZH1MirwmHaos4/lNp Mc/Kxq6GrldDTiAY72iNxUbwZL+TeVZzXFtVpKZ4e0YfyWUs+omiROrHy+Wg2uaJY6rh lOKNNqZKGWFvbz0h7nNOPi/IMafWbZsl8Ui7ywyN0A7ahUG1DPvofcXuWvAcxhOv4AZc bYjQ==
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=+EO87Dx5WVGz20LGtjDFMssS1mJ8b89+3gbcbkQVYqo=; b=Be9BnDgF/nLSkK/3EvX0EfMPLl5Wg7iALUscEVYUZ/42dc46y2Tr7sEPRcO+uhxrdL 0uz10HbhRQ9A56sJ117tu603KaHSq0NzC8Yfi5OF++qOzZ3R5ZnYMC+rOq0AH1Q9qGnG lShQdNtnGunweYgX8FBTWbj75OjRwjHyregnbh5rFBpW38AJifS2PmA1OaBY5HbzhzsH q8gOmwUIas8loubOCpEcPA2tTNnERCh/0LrRraonjUu+zTrhmFRpuxxucVf5Y9zobAeD sHFPrx6Zzb7nAbYBpWAFRh5Vih1tQVq6FLuYH4cMtYFD0hrUg35uLglJ2MK0zZnrRb5X YdGw==
X-Gm-Message-State: ALoCoQm5C6p41g+kliuZxtVyRy11c6aIqKvIBykwMpi514tYsAbhQvznyACFUvjssxk3B/JoDrvQS21i8XU9KRfOF/Vaprjf6T+kiTAuLgtXpSSDuktPuTDdUjZKv4SMEhqoTBsefieM/1fDqmJJECkVItR9EAj4kgpsS/xXdQNRsQswTGARhQQH/x8G9FTbLUxHn6yChc5b
X-Received: by 10.42.60.18 with SMTP id o18mr1177538ich.83.1380305004342; Fri, 27 Sep 2013 11:03:24 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.64.12.104 with HTTP; Fri, 27 Sep 2013 11:03:04 -0700 (PDT)
In-Reply-To: <7594FB04B1934943A5C02806D1A2204B1C4A8EA4@ESESSMB209.ericsson.se>
References: <7594FB04B1934943A5C02806D1A2204B1C4A77DB@ESESSMB209.ericsson.se> <C5E08FE080ACFD4DAE31E4BDBF944EB1166BED56@xmb-aln-x02.cisco.com> <7594FB04B1934943A5C02806D1A2204B1C4A8EA4@ESESSMB209.ericsson.se>
From: Justin Uberti <juberti@google.com>
Date: Fri, 27 Sep 2013 11:03:04 -0700
Message-ID: <CAOJ7v-3Pr7_uY3pVaCxQkwS=1COXsx+manVwu0bCadDaWQ2xPg@mail.gmail.com>
To: Christer Holmberg <christer.holmberg@ericsson.com>
Content-Type: multipart/alternative; boundary="90e6ba25dbdd77528804e7614da0"
Cc: "Cullen Jennings (fluffy)" <fluffy@cisco.com>, "rtcweb@ietf.org" <rtcweb@ietf.org>
Subject: Re: [rtcweb] JSEP-04: Some comments on Section 5.2.1. and 5.2.2 (19th september)
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.12
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: Fri, 27 Sep 2013 18:03:29 -0000

On Fri, Sep 20, 2013 at 3:17 PM, Christer Holmberg <
christer.holmberg@ericsson.com> wrote:

> Hi Cullen,
>
> >> Q_2:      o- line <sess-version> initial value - forking
> >>
> >> When a new PeerConnection is created due to forking, the <sess-version>
> value must be based (incremented) on the value associated with the "mother"
> PeerConnection, for which the initial Offer of the whole communication
> session was created.
> >
> > uh, that is old text sorry. I'm proposing the principal that any time
> the SDP changes (including new candidate lines) the version gets larger.
>
> Yes. But keep in mind that this is an Offer created for a new
> PeerConnection.
>
>
> ----------------
>
>
> >> Q_4:      BUNDLE
> >>
> >> The text says:
> >>
> >> "If a m= section is not being bundled into another m= section, it MUST
> >>                generate a unique set of ICE credentials and gather its
> own set of
> >>                candidates.  Otherwise, it MUST use the same ICE
> credentials and
> >>                candidates that were used in the m= section that it is
> being bundled
> >>                into."
> >>
> >> As, when BUNDLE is used, the initial Offer will contain identical ICE
> candidates, does that mean that we will also include identical address
> information in the initial Offer?
> >
> > no the initial offer will not have identical stuff other than on lines
> that "bundle-only" and we still need to add more text on this but idea is
> to make just like what is in united-plan
>
> Regarding the details (usage of port zero etc) of "bundle-only", that is
> still something we have to agree upon. But, that discussion belongs to
> MMUSIC (and, I believe there is a thread about that already :)
>
> But again, in the case of forking, when a new PeerConnection is created, I
> think we should allow identical stuff in the initial Offer of that
> PeerConnection. Because, the remote party has already indicated support of
> BUNDLE, in the Answer that was sent for the "mother" PeerConnection, so the
> initial Offer for the new PeerConnection will be the second Offer for the
> remote party.
>
> At some point, we are going to have to add much more details about
> forking, in the case multiple PeerConnections are used. It is not enough to
> only say "create a new PeerConnection" :)
>
>
> ----------------
>
>
> >> Section 5.2.2:
> >> -----------------
> >>
> >>
> >> Q_5:      Offer when in "local-offer"
> >>
> >> The text says:
> >>
> >> "If the initial offer was applied using setLocalDescription, but an
> >>                answer from the remote side has not yet been applied,
> meaning the
> >>                PeerConnection is still in the "local-offer" state, the
> steps for
> >>                generating an initial offer should be followed,"
> >>
> >> I don't understand this. Why would you create a new Offer while you are
> waiting for an Answer to the previously sent Offer?
> >
> > Justin has asked for this in the case when the offer has not been sent
> to anyone else. This is not going to be useful for typical systems trying
> to have SIP or Jingle compatible flow but who knows ...
>
> Again, we have consensus to base JSEP on 3264. And, if we are going to
> deviate from 3264, I'd like to have some discussion and justification for
> that.
>

We have been through this many times before. The state machine that has
been in the JSEP document for a while clearly shows that
local-offer->local-offer state transitions are permitted.