Re: [rtcweb] Payload Types assignments was Re: SV: [mmusic] WGLC of draft-ietf-rtcweb-use-cases-and-requirements-11

Harald Alvestrand <harald@alvestrand.no> Tue, 08 October 2013 11:01 UTC

Return-Path: <harald@alvestrand.no>
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 72BFF11E81AB for <rtcweb@ietfa.amsl.com>; Tue, 8 Oct 2013 04:01:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -110.599
X-Spam-Level:
X-Spam-Status: No, score=-110.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SdJJCV7mvlHq for <rtcweb@ietfa.amsl.com>; Tue, 8 Oct 2013 04:01:04 -0700 (PDT)
Received: from eikenes.alvestrand.no (eikenes.alvestrand.no [158.38.152.233]) by ietfa.amsl.com (Postfix) with ESMTP id 11D6D11E81AF for <rtcweb@ietf.org>; Tue, 8 Oct 2013 04:01:04 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by eikenes.alvestrand.no (Postfix) with ESMTP id A8F0A39E13F for <rtcweb@ietf.org>; Tue, 8 Oct 2013 13:01:01 +0200 (CEST)
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 GgfrCo+jWXf3 for <rtcweb@ietf.org>; Tue, 8 Oct 2013 13:01:00 +0200 (CEST)
Received: from [10.59.4.97] (unknown [212.91.240.155]) by eikenes.alvestrand.no (Postfix) with ESMTPSA id BD50939E0E1 for <rtcweb@ietf.org>; Tue, 8 Oct 2013 13:01:00 +0200 (CEST)
Message-ID: <5253E5EB.8030608@alvestrand.no>
Date: Tue, 08 Oct 2013 13:00:59 +0200
From: Harald Alvestrand <harald@alvestrand.no>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0
MIME-Version: 1.0
To: rtcweb@ietf.org
References: <C5E08FE080ACFD4DAE31E4BDBF944EB11667BBA0@xmb-aln-x02.cisco.com> <5238446D.8050700@ericsson.com> <9F33F40F6F2CD847824537F3C4E37DDF17BCF581@MCHP04MSX.global-ad.net> <07a601ceb64e$5caaba00$16002e00$@stahl@intertex.se> <07b001ceb65f$ce3f0cf0$6abd26d0$@stahl@intertex.se> <07e401ceb713$bef87a60$3ce96f20$@stahl@intertex.se> <524AB730.7040809@ericsson.com> <00b001cebfc1$ba8e89e0$2fab9da0$@stahl@intertex.se> <525272E8.5050300@ericsson.com> <050801cec3f6$6172aec0$24580c40$@stahl@intertex.se>
In-Reply-To: <050801cec3f6$6172aec0$24580c40$@stahl@intertex.se>
X-Enigmail-Version: 1.5.2
Content-Type: text/plain; charset="windows-1252"
Content-Transfer-Encoding: 8bit
Subject: Re: [rtcweb] Payload Types assignments was Re: SV: [mmusic] WGLC of draft-ietf-rtcweb-use-cases-and-requirements-11
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.12
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: Tue, 08 Oct 2013 11:01:10 -0000

On 10/08/2013 09:17 AM, Karl Stahl wrote:
> Hej Magnus,
>
>> Also, are you really interested in knowing that it is VP9 vs H.264, isn't
> the questions this is video of this priority that is important?
>> I think you need to more carefully consider what are the goals you try to
> achieve them.
>
> Actually, my concern is to get an idea of the maximum bandwidth that could
> be required for a WebRTC (ICE) setup media flow. Both voice and video should
> be prioritized over data (their individual priority is of less importance as
> long as there is sufficient bandwidth for both).

You don't know that without knowing what the application is for.
In, for instance, a shooter game with voice backchannels, the movement
and event information (data) is MORE time sensitive than the voice data.

>
> With diffserv you don’t need to know the bandwidth requirement, but with
> RSVP reservation (like in cable and mobile networks) you need to know how
> much to reserve. Voice is like 100's kbit/s, video VP8 or H.264 is like 3,5
> mbps. 

Again, without knowing the application, you don't know that.
The application could decide to use QCIF or HD, and the bandwidth
variation of screencast (semi-static with sudden, large changes) is
completely different from that of a talking head, which is again
completely different from a high-movement scene.

>
> To add to the complication of codec variants, the video codecs in question
> for WebRTC have variable bandwidth, and when there is a poor connection we
> see Chrome reducing the video window size to reduce the bandwidth used... 
>
> I think the payload type field at best can reflect a maximum bandwidth to
> initially reserve bandwidth for, and thereafter make new reservations if the
> bandwidth changes during the call. So could we change RTP to show maximum
> bandwidth instead of payload type in that field outside the encrypted
> payload :) ... Or maybe that is not a joke?

I think these ruminations only lead to one conclusion:

You can't tell what the needed bandwidth is up front without asking the
application.
You can't tell what the right priority ranking is without asking the
application.

If you need to know the bandwidth or the priority up front, the
application has to tell you. Anything else is pure heuristics.