Re: [rtcweb] OPS-Dir review of draft-ietf-rtcweb-stun-consent-freshness-13

Harald Alvestrand <harald@alvestrand.no> Sat, 30 May 2015 07:25 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 CEB2F1AC3F4 for <rtcweb@ietfa.amsl.com>; Sat, 30 May 2015 00:25:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.21
X-Spam-Level:
X-Spam-Status: No, score=-4.21 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01] 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 1NnmXcZGnr2i for <rtcweb@ietfa.amsl.com>; Sat, 30 May 2015 00:25:52 -0700 (PDT)
Received: from mork.alvestrand.no (mork.alvestrand.no [158.38.152.117]) by ietfa.amsl.com (Postfix) with ESMTP id 912C61AC3F3 for <rtcweb@ietf.org>; Sat, 30 May 2015 00:25:52 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mork.alvestrand.no (Postfix) with ESMTP id 4C2977C061A for <rtcweb@ietf.org>; Sat, 30 May 2015 09:25:51 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at alvestrand.no
Received: from mork.alvestrand.no ([127.0.0.1]) by localhost (mork.alvestrand.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Mc8cfeSR_tyw for <rtcweb@ietf.org>; Sat, 30 May 2015 09:25:50 +0200 (CEST)
Received: from [IPv6:2001:470:de0a:27:6528:fe3c:aadc:664b] (unknown [IPv6:2001:470:de0a:27:6528:fe3c:aadc:664b]) by mork.alvestrand.no (Postfix) with ESMTPSA id 1E8B47C03EE for <rtcweb@ietf.org>; Sat, 30 May 2015 09:25:50 +0200 (CEST)
Message-ID: <556965FD.1060001@alvestrand.no>
Date: Sat, 30 May 2015 09:25:49 +0200
From: Harald Alvestrand <harald@alvestrand.no>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: rtcweb@ietf.org
References: <913383AAA69FF945B8F946018B75898A478607D3@xmb-rcd-x10.cisco.com> <D18DD4A0.31980%rmohanr@cisco.com> <CE03DB3D7B45C245BCA0D243277949364CB762@MX104CL02.corp.emc.com>
In-Reply-To: <CE03DB3D7B45C245BCA0D243277949364CB762@MX104CL02.corp.emc.com>
Content-Type: text/plain; charset="windows-1252"
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/rtcweb/urLitckaz4guKHvodyRk7r__XbY>
Subject: Re: [rtcweb] OPS-Dir review of draft-ietf-rtcweb-stun-consent-freshness-13
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: Sat, 30 May 2015 07:25:55 -0000

On 05/29/2015 08:24 PM, Black, David wrote:
>> Also the above statement indicates a need for a new API to notify the
>> application about the loss of ability and this is some thing outside the
>> scope of this document.
> At the moment, the new API is in scope, as it's discussed in section 7:
>
> 7.  API Recommendations
>
>    The W3C specification [W3C-WEBRTC] may provide an API hook that
>    generates an event when consent has expired for a given 5-tuple,
>    meaning that transmission of data has ceased.  This could indicate
>    what application data is affected, such as media or data channels.
>
> If that section remains in the draft, I would be happy with adding one
> sentence to the end of that paragraph:
>
>    That API hook could also include other reasons for loss of ability
>    to send data, e.g., tripping of the circuit breaker mechanism
>    discussed in section 7.1 of [I-D.ietf-rtcweb-rtp-usage].
>
> Alternatively, Section 7 could be deleted - I could live with that,
> although I'd prefer that section 7 remain, as I'd expect readers to
> be interested in how an application learns that consent has expired.

I'd prefer to limit the number of documents that try to design APIs.

Can we do something more generic, like "Applications that use the RTWEB
transport will need to be notified when transmission ceases due to
expiry of consent. The design of APIs to carry these notifications is
out of scope for this document."?