[rtcweb] Diffserv QoS for Video

"Black, David" <david.black@emc.com> Wed, 04 May 2016 15:29 UTC

Return-Path: <david.black@emc.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 A47AA12D7DD; Wed, 4 May 2016 08:29:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.317
X-Spam-Level:
X-Spam-Status: No, score=-5.317 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.996, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=emc.com
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 cODbhANrvtEU; Wed, 4 May 2016 08:29:23 -0700 (PDT)
Received: from mailuogwdur.emc.com (mailuogwdur.emc.com [128.221.224.79]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9C53112D606; Wed, 4 May 2016 08:26:18 -0700 (PDT)
Received: from maildlpprd52.lss.emc.com (maildlpprd52.lss.emc.com [10.106.48.156]) by mailuogwprd51.lss.emc.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.0) with ESMTP id u44FQG12027709 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 4 May 2016 11:26:17 -0400
X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd51.lss.emc.com u44FQG12027709
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=emc.com; s=jan2013; t=1462375577; bh=6bWoWI62Iy8SzNYmHxuxdzjog4I=; h=From:To:CC:Subject:Date:Message-ID:Content-Type: Content-Transfer-Encoding:MIME-Version; b=Oj34W6/pmOBNUqPVtmLhGlIuztgh59uNtVTjRCXCg3f8IZvEucPBIMPudN3Z3MQKW oVljulhuw4k/cO/3a97W/8WyX28LrS6dzWr+4PiUx0DVUN2aTBSKukLs0BI/AuCX66 bCq83qiM7dY+4snnLI2Z8e8GmMT445w+26uXIaOM=
X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd51.lss.emc.com u44FQG12027709
Received: from mailusrhubprd01.lss.emc.com (mailusrhubprd01.lss.emc.com [10.253.24.19]) by maildlpprd52.lss.emc.com (RSA Interceptor); Wed, 4 May 2016 11:26:03 -0400
Received: from MXHUB106.corp.emc.com (MXHUB106.corp.emc.com [10.253.58.23]) by mailusrhubprd01.lss.emc.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.0) with ESMTP id u44FQB4s013708 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL); Wed, 4 May 2016 11:26:11 -0400
Received: from MX104CL02.corp.emc.com ([169.254.8.9]) by MXHUB106.corp.emc.com ([10.253.58.23]) with mapi id 14.03.0266.001; Wed, 4 May 2016 11:26:10 -0400
From: "Black, David" <david.black@emc.com>
To: "tsvwg@ietf.org" <tsvwg@ietf.org>, "rtcweb@ietf.org" <rtcweb@ietf.org>
Thread-Topic: Diffserv QoS for Video
Thread-Index: AdGmGT33m8jIoXrlTv+NljAQLxjzlw==
Date: Wed, 04 May 2016 15:26:11 +0000
Message-ID: <CE03DB3D7B45C245BCA0D243277949362E993518@MX104CL02.corp.emc.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.96.50.112]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Sentrion-Hostname: mailusrhubprd01.lss.emc.com
X-RSA-Classifications: public
Archived-At: <http://mailarchive.ietf.org/arch/msg/rtcweb/pszdJw52l4cdW3xICgV_l9NCadw>
Cc: "Black, David" <david.black@emc.com>
Subject: [rtcweb] 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: Wed, 04 May 2016 15:29:26 -0000

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)