Re: [rtcweb] "pranswer" be applied as an update to a previously sent "answer"?

Harald Alvestrand <harald@alvestrand.no> Thu, 21 November 2013 12:20 UTC

Return-Path: <harald@alvestrand.no>
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 E369B1AE112 for <rtcweb@ietfa.amsl.com>; Thu, 21 Nov 2013 04:20:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.424
X-Spam-Level:
X-Spam-Status: No, score=-7.424 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.525] 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 voTD6LzHLxGv for <rtcweb@ietfa.amsl.com>; Thu, 21 Nov 2013 04:19:58 -0800 (PST)
Received: from eikenes.alvestrand.no (eikenes.alvestrand.no [158.38.152.233]) by ietfa.amsl.com (Postfix) with ESMTP id 9334B1AE10F for <rtcweb@ietf.org>; Thu, 21 Nov 2013 04:19:57 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by eikenes.alvestrand.no (Postfix) with ESMTP id 2749339EA1A for <rtcweb@ietf.org>; Thu, 21 Nov 2013 13:19:50 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at eikenes.alvestrand.no
Received: from eikenes.alvestrand.no ([127.0.0.1]) by localhost (eikenes.alvestrand.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3k21abj5JQUO for <rtcweb@ietf.org>; Thu, 21 Nov 2013 13:19:49 +0100 (CET)
Received: from hta-hippo.lul.corp.google.com (unknown [IPv6:2620:0:1043:1:7646:a0ff:fe90:e2bb]) by eikenes.alvestrand.no (Postfix) with ESMTPSA id 2614D39E38C for <rtcweb@ietf.org>; Thu, 21 Nov 2013 13:19:49 +0100 (CET)
Message-ID: <528DFA63.6030404@alvestrand.no>
Date: Thu, 21 Nov 2013 13:19:47 +0100
From: Harald Alvestrand <harald@alvestrand.no>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: rtcweb@ietf.org
References: <A3045C90BB645147BC99159AA47ABAC748C3DACB@szxeml558-mbs.china.huawei.com>
In-Reply-To: <A3045C90BB645147BC99159AA47ABAC748C3DACB@szxeml558-mbs.china.huawei.com>
Content-Type: multipart/alternative; boundary="------------090006080005000506030306"
Subject: Re: [rtcweb] "pranswer" be applied as an update to a previously sent "answer"?
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: Thu, 21 Nov 2013 12:20:01 -0000

On 11/20/2013 12:22 PM, Lijing (Jessie) wrote:
>
> draft-ietf-rtcweb-jsep-05 -----Section 4.1.3 says:
>
> "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.  A description used as a "pranswer" may be applied as a
>
>    response to an "offer", or an update to a previously sent "answer".
>
> How can a pranswer be applied as an update to a previously sent 
> answer?  I am not sure what's the corresponding scenario.
>
> From the state machine perspective, when answer is received, it enters 
> the stable state. At this point, the state machine can not directly 
> jump to local pranswer or remote pranswer state.
>
> My two cents: May be it needs more description or correction here.
>

This makes sense, and is consistent with the state diagrams, if the last 
"answer" is changed to "pranswer".

Justin, is this an error in the draft?