Re: [rtcweb] Issue with "priority" defined in rtcweb-transports

Harald Alvestrand <harald@alvestrand.no> Tue, 17 October 2017 20:18 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 E06F513292A for <rtcweb@ietfa.amsl.com>; Tue, 17 Oct 2017 13:18:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] 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 FNGu5Kjg6w15 for <rtcweb@ietfa.amsl.com>; Tue, 17 Oct 2017 13:18:12 -0700 (PDT)
Received: from mork.alvestrand.no (mork.alvestrand.no [IPv6:2001:700:1:2::117]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 92AD0132355 for <rtcweb@ietf.org>; Tue, 17 Oct 2017 13:18:12 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mork.alvestrand.no (Postfix) with ESMTP id 0F9DD7C32DB; Tue, 17 Oct 2017 22:18:11 +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 DVxCQMwqn-3i; Tue, 17 Oct 2017 22:18:10 +0200 (CEST)
Received: from [IPv6:2001:470:de0a:1::5ea] (unknown [IPv6:2001:470:de0a:1::5ea]) by mork.alvestrand.no (Postfix) with ESMTPSA id 2E1D97C0AF4; Tue, 17 Oct 2017 22:18:10 +0200 (CEST)
To: Taylor Brandstetter <deadbeef@google.com>
Cc: Magnus Westerlund <magnus.westerlund@ericsson.com>, RTCWeb IETF <rtcweb@ietf.org>
References: <CAK35n0Z6_N9iMZ3F2y1QXG1M9Efx4ha9sm8CBcahzjYtHwWSEg@mail.gmail.com> <183cc5c2-470b-0dab-d474-7f22134f867a@ericsson.com> <CAK35n0Y90137Y5hsMgS-1XoLsW5V9hkMpd1MNf9JUT7OrJKGcw@mail.gmail.com> <85ff04f8-bcae-8561-9866-48d5c16bf0a1@alvestrand.no> <CAK35n0Zu70z6nSFSMX05O913cUj_73W9V8FNK54LZrsMEdQPgg@mail.gmail.com>
From: Harald Alvestrand <harald@alvestrand.no>
Message-ID: <6da0d797-e1db-a8e7-65d1-0e632ee55c6a@alvestrand.no>
Date: Tue, 17 Oct 2017 22:18:09 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0
MIME-Version: 1.0
In-Reply-To: <CAK35n0Zu70z6nSFSMX05O913cUj_73W9V8FNK54LZrsMEdQPgg@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtcweb/XFI_8IF1wS2MlmeQjxYXqf-j-7I>
Subject: Re: [rtcweb] Issue with "priority" defined in rtcweb-transports
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.22
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: Tue, 17 Oct 2017 20:18:14 -0000

Den 17. okt. 2017 18:59, skrev Taylor Brandstetter:
>     For instance, screenshare-type video varies enormously in
>     bandwidth (very low at static images, enormous at slide change) - if it
>     competes against audio, a "relative" bitrate ratio will not be useful at
>     all.
> 
> 
> I think that's where it's important to get the terminology right; for
> example, rtcweb-transports uses the term "capacity", which implies that
> it's possible to use fewer bits than the capacity. Maybe that's the best
> way to think of this. We also can allow some implementation flexibility.
> 
>     Is there a way we can punt this?
> 
> 
> If we do punt this, I still think we should remove the part of
> rtcweb-transports that talks about the priority causing codecs to be
> configured with send rates at these 1:2:4:8 ratios:
> 
>        o  When the available bandwidth is known from the congestion control
>           algorithm, configure each codec and each data channel with a
>           target send rate that is appropriate to its share of the available
>           bandwidth.
> 
> 
> We should make it clear that the priority only affects the delivery of
> packets (pacing decisions, QoS, SCTP priority), and not how the packets
> are generated upstream. Assuming others agree.

The words about configuring the codecs were intended as advice - most
codecs are terrible at dealing with random lost packets (even with FEC
and NACK and all that), so if the pacer is going to throw their packets
away, the best thing to do is to not generate them.

(Hierarchical coding schemes with frames that have no references to them
work fine as long as you throw away complete frames, though. So
sometimes it works.)

This section is already headed with the words "Two example
implementation strategies are:", so it should already be clear that it's
advice, not normative language.

I'm happy to weaken the words even more, but wouldn't want to lose the
advice entirely.