Re: [rtcweb] Prioritization

Harald Alvestrand <harald@alvestrand.no> Fri, 25 April 2014 18:31 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 9AAA91A06A9 for <rtcweb@ietfa.amsl.com>; Fri, 25 Apr 2014 11:31:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.172
X-Spam-Level:
X-Spam-Status: No, score=-2.172 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.272] 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 3q3oI8Z0vfuA for <rtcweb@ietfa.amsl.com>; Fri, 25 Apr 2014 11:31:08 -0700 (PDT)
Received: from mork.alvestrand.no (mork.alvestrand.no [158.38.152.117]) by ietfa.amsl.com (Postfix) with ESMTP id C46221A069E for <rtcweb@ietf.org>; Fri, 25 Apr 2014 11:31:07 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mork.alvestrand.no (Postfix) with ESMTP id 03F4F7C54C0; Fri, 25 Apr 2014 20:31:01 +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 Azv6FlcKG19R; Fri, 25 Apr 2014 20:31:00 +0200 (CEST)
Received: from hta-hippo.lul.corp.google.com (unknown [IPv6:2620:0:1043:1:7646:a0ff:fe90:e2bb]) by mork.alvestrand.no (Postfix) with ESMTPSA id 546197C54B3; Fri, 25 Apr 2014 20:31:00 +0200 (CEST)
Message-ID: <535AA9E2.4080208@alvestrand.no>
Date: Fri, 25 Apr 2014 20:30:58 +0200
From: Harald Alvestrand <harald@alvestrand.no>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0
MIME-Version: 1.0
To: "Matthew Kaufman (SKYPE)" <matthew.kaufman@skype.net>, "rtcweb@ietf.org" <rtcweb@ietf.org>
References: <20140425084726.8812.24604.idtracker@ietfa.amsl.com> <535A21E3.7070008@alvestrand.no> <535A5ACC.9070700@viagenie.ca> <535A6151.1060501@alvestrand.no> <AE1A6B5FD507DC4FB3C5166F3A05A484504DFEE0@TK5EX14MBXC298.redmond.corp.microsoft.com>
In-Reply-To: <AE1A6B5FD507DC4FB3C5166F3A05A484504DFEE0@TK5EX14MBXC298.redmond.corp.microsoft.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/rtcweb/AVz8R8o2f6kmAgjqdUnNjgOrjq0
Subject: Re: [rtcweb] Prioritization
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: Fri, 25 Apr 2014 18:31:10 -0000

On 04/25/2014 07:06 PM, Matthew Kaufman (SKYPE) wrote:
> Harald Alvestrand:
>> Prioritization is a different matter.
>>
>> What I was trying to encapsulate was:
>>
>> - Higher priority means more packets get sent
>> - "More" has a numeric value, so behaviour is predictable (that's where the
>> x2 figure came from)
>> - Small packet flows get more packets than large-packet flows (counting
>> bytes not packets)
>> - Lower priority flows can't be starved completely
>>
>> This text captures that. I'd like to continue to capture that.
> The above is simply wrong, so the text shouldn't capture it at all.
>
> If I say that audio is more important than video, and I try to send 100kbps of audio and 3 Mbps of video over a 101kbps channel, how much audio should I drop at send time to let video through?
>
> Matthew Kaufman
Is either stream adaptive?

If I send high quality OPUS (100 Kbits/sec) and VP8 in HD (3 Mbits/sec), 
the suggested result would likely be OPUS scaled down to ~60 Kbits/sec 
and VP8 scaled down to ~30 Kbits/sec.

The latter is probably useful for recognizing that there was an 
intention to send a picture.
This MAY be a fine result, depending on the application's requirements.