Re: [rtcweb] #3: JSEP-02 Review (from Andy Hutton)
worley@ariadne.com (Dale R. Worley) Fri, 02 November 2012 15:54 UTC
Return-Path: <worley@shell01.TheWorld.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 D09A721F89DA for <rtcweb@ietfa.amsl.com>; Fri, 2 Nov 2012 08:54:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.299
X-Spam-Level:
X-Spam-Status: No, score=-2.299 tagged_above=-999 required=5 tests=[AWL=0.525, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1, RCVD_IN_SORBS_WEB=0.619, SUBJECT_FUZZY_TION=0.156]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hkX+i3DdBncC for <rtcweb@ietfa.amsl.com>; Fri, 2 Nov 2012 08:54:03 -0700 (PDT)
Received: from TheWorld.com (pcls6.std.com [192.74.137.146]) by ietfa.amsl.com (Postfix) with ESMTP id BD43D21F89DF for <rtcweb@ietf.org>; Fri, 2 Nov 2012 08:54:02 -0700 (PDT)
Received: from shell.TheWorld.com (root@shell01.theworld.com [192.74.137.71]) by TheWorld.com (8.14.5/8.14.5) with ESMTP id qA2Fq9qA020272 for <rtcweb@ietf.org>; Fri, 2 Nov 2012 11:52:11 -0400
Received: from shell01.TheWorld.com (localhost.theworld.com [127.0.0.1]) by shell.TheWorld.com (8.13.6/8.12.8) with ESMTP id qA2Fq8wi206973 for <rtcweb@ietf.org>; Fri, 2 Nov 2012 10:52:08 -0500 (EST)
Received: (from worley@localhost) by shell01.TheWorld.com (8.13.6/8.13.6/Submit) id qA2Fq8l1207997; Fri, 2 Nov 2012 11:52:08 -0400 (EDT)
Date: Fri, 02 Nov 2012 11:52:08 -0400
Message-Id: <201211021552.qA2Fq8l1207997@shell01.TheWorld.com>
From: worley@ariadne.com
Sender: worley@ariadne.com
To: rtcweb@ietf.org
In-reply-to: <066.b5060d6f1c778a37ddaaeadfa120da84@trac.tools.ietf.org> (trac+rtcweb@grenache.tools.ietf.org)
Subject: Re: [rtcweb] #3: JSEP-02 Review (from Andy Hutton)
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, 02 Nov 2012 15:54:04 -0000
> #3: JSEP-02 Review (from Andy Hutton) > > 6. Section 4.2. Session Descriptions and State Machine states: > > "Lastly, while the exact media parameters are only known only after a > offer and an answer have been exchanged, it is possible for the offerer to > receive media after they have sent an offer and before they have received > an answer. To properly process incoming media in this case, the offerer's > media handler must be aware of the details of the offerer before the > answer arrives." > > I don't see the relevance of the statement "it is possible for the offerer > to receive media after they have sent an offer and before they have > received an answer". Why is the purpose of this statement? Unless one is familiar with how offer/answer works in SIP, one might easily assume that media can only be sent after the offer/answer cycle is complete. > 7. Section 4.2. Session Descriptions and State Machine states: > > "In [RFC3264], the constraints at the signaling level is that only one > offer can be outstanding for a given session but from the media stack > level, a new offer can be generated at any point. For example, when using > SIP for signaling, if one offer is sent, then cancelled using a SIP > CANCEL, another offer can be generated even though no answer was received > for the first offer. To support this, the JSEP media layer can provide an > offer whenever the Javascript application needs one for the signaling." > > Regarding the example SIP sequence in this scenario if the CANCEL is used > to terminate a SIP dialog initiating INVITE I would assume that normally > the peer connection would be terminated and a new peer connection used for > any subsequent call so it does not seem to be a good example. If the > example is meant to indicate that such a sequence could be used whilst > establishing a SIP dialog it is a really horrible example. If it is > intended to be an example mid dialog then the offer needs to be cancelled > and the media state reverted to what it was previously. In the language of the quoted passage, in SIP, once a CANCEL has been sent, the session is ended (at least from this end's point of view). This end may send another offer, but it will describe a different session. If there is some difficulty in the API about this, it is probably because the API doesn't explicitly allow manipulation of multiple sessions at once, and leaves the identify of the session that is being controlled implicit. > 14. Section 5.2.3 SessionDescriptionType > > ""pranswer" indicates that a description should be parsed as an answer, > but not a final answer, and so should not result in the freeing of > allocated resources. It may result in the start of media transmission, > if the answer does not specify an inactive media direction". Do we have any need for "pranswer"? Dale
- [rtcweb] #3: JSEP-02 Review (from Andy Hutton) rtcweb issue tracker
- Re: [rtcweb] #3: JSEP-02 Review (from Andy Hutton) Dale R. Worley
- Re: [rtcweb] #3: JSEP-02 Review (from Andy Hutton) Matthew Kaufman
- Re: [rtcweb] #3: JSEP-02 Review (from Andy Hutton) Stefan HÃ¥kansson LK
- Re: [rtcweb] #3: JSEP-02 Review (from Andy Hutton) Martin Thomson