Re: [rtcweb] [tsvwg] Diffserv QoS for Video

Stefan Håkansson LK <stefan.lk.hakansson@ericsson.com> Thu, 05 May 2016 11:02 UTC

Return-Path: <stefan.lk.hakansson@ericsson.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 2D66212D13A; Thu, 5 May 2016 04:02:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.221
X-Spam-Level:
X-Spam-Status: No, score=-4.221 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 BEB0JWUeAbpS; Thu, 5 May 2016 04:02:38 -0700 (PDT)
Received: from sesbmg22.ericsson.net (sesbmg22.ericsson.net [193.180.251.48]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 87F0112B048; Thu, 5 May 2016 04:02:37 -0700 (PDT)
X-AuditID: c1b4fb30-f79486d0000069d0-a9-572b284acdbf
Received: from ESESSHC014.ericsson.se (Unknown_Domain [153.88.183.60]) by sesbmg22.ericsson.net (Symantec Mail Security) with SMTP id 2F.00.27088.A482B275; Thu, 5 May 2016 13:02:34 +0200 (CEST)
Received: from ESESSMB209.ericsson.se ([169.254.9.117]) by ESESSHC014.ericsson.se ([153.88.183.60]) with mapi id 14.03.0248.002; Thu, 5 May 2016 13:02:34 +0200
From: Stefan Håkansson LK <stefan.lk.hakansson@ericsson.com>
To: Brian E Carpenter <brian.e.carpenter@gmail.com>, "Black, David" <david.black@emc.com>, "tsvwg@ietf.org" <tsvwg@ietf.org>, "rtcweb@ietf.org" <rtcweb@ietf.org>
Thread-Topic: [rtcweb] [tsvwg] Diffserv QoS for Video
Thread-Index: AdGmGT33m8jIoXrlTv+NljAQLxjzlw==
Date: Thu, 05 May 2016 11:02:33 +0000
Message-ID: <1447FA0C20ED5147A1AA0EF02890A64B375232B2@ESESSMB209.ericsson.se>
References: <CE03DB3D7B45C245BCA0D243277949362E993518@MX104CL02.corp.emc.com> <7ebc2ca5-c10f-f85e-2b6f-0d685c87f187@gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [153.88.183.149]
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpikeLIzCtJLcpLzFFi42KZGbHdRtdLQzvcYP9ceYu2i/uYLLYeXstu sfZfO7vFsTd32RxYPI4cmc3isXPWXXaPJUt+MgUwR3HZpKTmZJalFunbJXBlfJo/haVgs1FF 9695jA2MHRpdjJwcEgImEsf/L2eHsMUkLtxbz9bFyMUhJHCEUeL2ryeMEM5iRomti9pZQKrY BAIltu5bAFYlIrCUUWLbuglg7cJAo07uvMcGYosImErsuj6dGcLWk5j3exJYDYuAisTatnlg cV4BX4lTh1ZBrWtglJgxt48RJMEIdMf3U2uYQGxmAXGJW0/mM0HcJyCxZM95ZghbVOLl43+s ELaSxNrD21kg6vUkbkydwgZha0ssW/gaapmgxMmZT1gmMIrMQjJ2FpKWWUhaZiFpWcDIsopR tDi1OCk33chIL7UoM7m4OD9PLy+1ZBMjMGYObvltsIPx5XPHQ4wCHIxKPLwKK7XChVgTy4or cw8xSnAwK4nwMqpqhwvxpiRWVqUW5ccXleakFh9ilOZgURLn9X+pGC4kkJ5YkpqdmlqQWgST ZeLglGpg5HFbVqBg6D7Nt0Lh9cmcCTLOnzLj+zsTFk3efENm3qTnCe7nY7iNT50+KcDvUyN/ q3/CUc3tLhzpaW837f6buVs6dXPJx5y9UekGTzjUXxRvXbtUZr2QnV/TUmPvtKOXXDfkhHuo LLFaaRzPd3PF59odd05cOaWTs2zP908qJy873H4kIjRlsxJLcUaioRZzUXEiABKTL+qVAgAA
Archived-At: <http://mailarchive.ietf.org/arch/msg/rtcweb/OCzBDWjCcqbZueJNY6dF9f8L570>
Subject: Re: [rtcweb] [tsvwg] Diffserv QoS for Video
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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, 05 May 2016 11:02:43 -0000

On 04/05/16 22:28, Brian E Carpenter wrote:
> I fear I have an up-level question: what is the definition of "interactive"?
>
> draft-ietf-tsvwg-rtcweb-qos doesn't define it, presumably because it was
> assumed to be obvious, but thinking about David's suggestions, I decided
> that it isn't so obvious.
>
> https://tools.ietf.org/html/draft-ietf-tsvwg-rtcweb-qos-15#section-4 says:
>
>     The following are the inputs provided by the WebRTC application to
>     the browser:
>
>     o  Flow Type: The browser provides this input as it knows if the flow
>        is audio, interactive video with or without audio, non-interactive
>        video with or without audio, or data.
>
> Firstly, I'm puzzled by the apparent contradiction between the first
> sentence (in which the app provides input to the browser) and the second
> sentence (in which to the browser provides input to something else).

The sentences contradict, but with the API defined the second sentence 
is true.

>
> Then, is it clear how the browser "knows" this? If David's statement below
> about the API is correct, the browser actually cannot "provide this input"
> as stated in the above quotation. Or I am confused.

There is no browser API to define if the video (or audio) is interactive 
or not, and the reason is that we've dealt only with interactive flows.

I've heard people talk about more robust flows with higher latency for 
situations like lectures and so on, but that is not part of WebRTC 1.0 
(the API standard).

>
> Finally, why is audio not also subdivided into interactive and
> non-interactive? As far as I can see, both are logically possible.
>
> Regards
>     Brian
>
> On 05/05/2016 03:26, Black, David wrote:
>> Greetings,
>>
>> I write as the shepherd for the WebRTC QoS draft (draft-ietf-tsvwg-rtcweb-qos).
>> IETF Last Call on this draft uncovered an issue that appears to also require
>> changes in the Web RTC transports draft (draft-ietf-rtcweb-transports).
>>
>> The Web RTC draft  specifies different Diffserv Codepoints (DSCPs) for use with
>> Interactive vs. Non-Interactive Video (with or without audio in both cases):
>> https://tools.ietf.org/html/draft-ietf-tsvwg-rtcweb-qos-15#section-5
>>
>> The IETF LC issue is: How does an implementer determine whether video is
>> interactive vs. non-interactive?
>>
>> The answer (unexpected to at least me) is that this can't be done for current
>> WebRTC - all video has to be treated as interactive because there's no API
>> support to distinguish interactive video from non-interactive video.  That
>> doesn't appear to be stated anywhere obvious, and a TSVWG draft seems
>> like the wrong place to do so.
>>
>> Hence, this message contains initial proposed changes to both the WebRTC
>> Transports draft and WebRTC QoS draft to resolve this issue without removing
>> any of the DSCPs currently specified for video in the WebRTC QoS draft.
>>
>> We should resolve this within the next few days, as the WebRTC QoS draft is
>> (finally!) on the IESG telechat agenda for May 19.
>>
>> --- WebRTC Transports draft - proposed changes
>>
>> In Section 4 Media Prioritization, after the following existing text:
>>
>>     For media, a "media flow", which can be an "audio flow" or a "video
>>     flow", is what [RFC7656] calls a "media source", which results in a
>>     "source RTP stream" and one or more "redundancy RTP streams".  This
>>     specification does not describe prioritization between the RTP
>>     streams that come from a single "media source".
>>
>> Add a new paragraph:
>>
>>     All media flows in WebRTC are assumed to be interactive; there is
>>     no browser API support for non-interactive media, aside from sending
>>     non-interactive media content via the data channel.
>>
>> This ought to cite a W3C reference for the WebRTC API - the following
>> appears plausible:
>>
>>     [W3C.WD-webrtc-20120209]
>>                Bergkvist, A., Burnett, D., Jennings, C., and A.
>>                Narayanan, "WebRTC 1.0: Real-time Communication Between
>>                Browsers", World Wide Web Consortium WD WD-webrtc-
>>                20120209, February 2012,
>>                <http://www.w3.org/TR/2012/WD-webrtc-20120209>.
>>
>> -- WebRTC QoS draft - proposed changes
>>
>> In Section 5 DSCP Mappings, after the following existing text:
>>
>>     The browser SHOULD first select the flow type of the flow.  Within
>>     the flow type, the relative importance of the flow SHOULD be used to
>>     select the appropriate DSCP value.
>>
>> Add a new paragraph:
>>
>>     The current WebRTC browser API does not support non-interactive
>>     video; all video is assumed to be interactive [I-D.ietf-rtcweb-transports].
>>     Browsers MUST NOT use the DSCP mappings for Non-Interactive Video
>>     in Table 1.  Non-browser implementations of WebRTC MAY use the
>>     DSCP mappings for Non-Interactive Video in Table 1 for video that is
>>     known to not be interactive, e.g., all video in a video playback application
>>     based on a custom implementation of the WebRTC protocols would not
>>     be interactive.
>>
>> ------
>>
>> Comments are welcome - as noted, above,  we should resolve this in
>> the next few days in order to avoid pulling the WebRTC QoS draft off
>> of the May 19 IESG telechat agenda. Please reply to both the TSVWG and
>> RTCWEB lists, as we need  a coherent solution across both drafts.
>>
>> I want to thank Colin Perkins for suggesting the video playback example.
>>
>> Thanks, --David (as WebRTC QoS draft shepherd)
>>
>>
>
> _______________________________________________
> rtcweb mailing list
> rtcweb@ietf.org
> https://www.ietf.org/mailman/listinfo/rtcweb
>