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

"Paul E. Jones" <paulej@packetizer.com> Thu, 05 May 2016 17:47 UTC

Return-Path: <paulej@packetizer.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 EA5C812D6E7; Thu, 5 May 2016 10:47:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.998
X-Spam-Level:
X-Spam-Status: No, score=-2.998 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_NONE=-0.0001, RP_MATCHES_RCVD=-0.996, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=packetizer.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 98-pt3gp6QlH; Thu, 5 May 2016 10:47:16 -0700 (PDT)
Received: from dublin.packetizer.com (dublin.packetizer.com [75.101.130.125]) (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 A333812D1DA; Thu, 5 May 2016 10:47:16 -0700 (PDT)
Received: from [192.168.1.20] (cpe-098-122-181-215.nc.res.rr.com [98.122.181.215] (may be forged)) (authenticated bits=0) by dublin.packetizer.com (8.15.2/8.15.2) with ESMTPSA id u45HlCc0014379 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 5 May 2016 13:47:12 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=packetizer.com; s=dublin; t=1462470433; bh=P5mnqPL/9iEJyk8DBffLQ+DjsH9qoVHT128uBOge7H0=; h=From:To:Subject:Date:In-Reply-To:Reply-To; b=qb7nOo9g8SwnDZLFpDU+cP5NMmUiiqCFaxxsUVm7Ea2GrJkT7JMCNWp3MWSMVD2G5 7oAfvWvHN6qnfHMh/zmmZ/h3962yVDRacfxtMhiIMqRhrevqsymRhnRjjcXbPKDafK eJD5E3+DzVATXJGPb7lx5iQ5q52PUo50P96Zp4vo=
From: "Paul E. Jones" <paulej@packetizer.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>
Date: Thu, 05 May 2016 17:47:24 +0000
Message-Id: <em18f9d8ad-cc16-485d-aa0a-206d7aa50e81@sydney>
In-Reply-To: <7ebc2ca5-c10f-f85e-2b6f-0d685c87f187@gmail.com>
User-Agent: eM_Client/6.0.24928.0
Mime-Version: 1.0
Content-Type: text/plain; format="flowed"; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.16 (dublin.packetizer.com [10.137.60.122]); Thu, 05 May 2016 13:47:13 -0400 (EDT)
Archived-At: <http://mailarchive.ietf.org/arch/msg/rtcweb/bCJIRG1J291S5hUI48_hFvXZYDc>
Subject: Re: [rtcweb] [tsvwg] Diffserv QoS for Video
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: "Paul E. Jones" <paulej@packetizer.com>
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 17:47:19 -0000

Brian,

>I fear I have an up-level question: what is the definition of 
>"interactive"?

That comes from RFC 4594, which comes from G.1010.

>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.

This paragraph has been modified during the course of discussions during 
LC.  The text now reads:

     Flow Type: The application provides this input because it knows
     if the flow is audio, interactive video with or without
     audio, non-interactive video with or without audio, or data.
     For audio that is associated with a video flow, the flow
     type of the associated video MAY be used instead of the
     associated audio type.

>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).

This should have been "application", as it's providing this input to the 
browser, in spite of the fact that the current API does not allow the 
application to indicate interactive or not.

>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.

Yeah, the browser would not know.  At present, it can only assume it's 
interactive based on the fact it is an RTP video and audio flow.

>Finally, why is audio not also subdivided into interactive and
>non-interactive? As far as I can see, both are logically possible.

For WebRTC, audio alone is "interactive" in nature (which is why it's 
marked EF).  However, if one is sending audio and video it makes sense 
to mark them both same way to get the same PHB and hopefully have them 
queued in the same buffers along the path.  Sending audio as EF and 
possibly having a PHB that results in packets arriving much faster than 
corresponding video packets marked as AF42 is not at all helpful for 
applications that have to synchronize the audio and video flows.

I can think of examples of potentially non-interactive video (e.g., 
whiteboard, app sharing, or presentation video).  Likewise, if audio is 
sent with a presentation video it would make sense for the audio to be 
marked similarly to the corresponding video.

Paul