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

"Karl Stahl" <karl.stahl@intertex.se> Tue, 08 October 2013 07:17 UTC

Return-Path: <karl.stahl@intertex.se>
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 3D36021E815C for <rtcweb@ietfa.amsl.com>; Tue, 8 Oct 2013 00:17:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.127
X-Spam-Level:
X-Spam-Status: No, score=-2.127 tagged_above=-999 required=5 tests=[AWL=0.023, BAYES_00=-2.599, MSGID_MULTIPLE_AT=1.449, RCVD_IN_DNSWL_LOW=-1]
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 VmkZWsi4nQDB for <rtcweb@ietfa.amsl.com>; Tue, 8 Oct 2013 00:17:05 -0700 (PDT)
Received: from smtp.it-norr.com (smtp.it-norr.com [80.244.64.161]) by ietfa.amsl.com (Postfix) with ESMTP id BA1F421E814C for <rtcweb@ietf.org>; Tue, 8 Oct 2013 00:17:02 -0700 (PDT)
Received: from ([90.229.134.75]) by smtp.it-norr.com (Telecom3 SMTP service) with ASMTP id 201310080916593032; Tue, 08 Oct 2013 09:16:59 +0200
From: Karl Stahl <karl.stahl@intertex.se>
To: 'Magnus Westerlund' <magnus.westerlund@ericsson.com>
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>
In-Reply-To: <525272E8.5050300@ericsson.com>
Date: Tue, 08 Oct 2013 09:17:00 +0200
Message-ID: <050801cec3f6$6172aec0$24580c40$@stahl>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Office Outlook 12.0
Thread-Index: Ac7DOGuIq7IwaT1cT3GNHbfKzjL84wAgq+9Q
Content-Language: sv
Cc: rtcweb@ietf.org, draft-ietf-rtcweb-use-cases-and-requirements@tools.ietf.org
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 07:17:11 -0000

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

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. 

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?

> IETF already have define an IP field for quality based routing and
forwarding: The DiffServ Code Point field.

Sure, but current OS stop those bits to be set by the WebRTC browser. And
when multiplexing everything over one UDP port, I doubt we will ever see
diffserv bits coming from the application. Further, diffserv bits does not
give us the bandwidth required for RSVP networks.

In cable networks today, they look into the SIP/SDP signaling to see the
bandwidth to reserve (usually only G.711 I believe). That cannot be done
with no signaling WebRTC and all encrypted. On another track, I suggested
enforcing TURN to be used (by eating the initial STUN packet). That could
capture the ICE initiated media flow, but there is still a need to estimate
the bandwidth requirement for RSVP type of networks.

/Karl


-----Ursprungligt meddelande-----
Från: Magnus Westerlund [mailto:magnus.westerlund@ericsson.com] 
Skickat: den 7 oktober 2013 10:38
Till: Karl Stahl
Kopia: rtcweb@ietf.org;
draft-ietf-rtcweb-use-cases-and-requirements@tools.ietf.org
Ämne: Payload Types assignments was Re: SV: [rtcweb] [mmusic] WGLC of
draft-ietf-rtcweb-use-cases-and-requirements-11

Hi Karl,

On 2013-10-03 00:50, Karl Stahl wrote:
> Hej Magnus,
> 
> Hmm, if we (IETF) allowed ourselves to each decennium allocate payload 
> types for the 3-4 most common/important codecs, the unassigned pool 
> (PT:35-71) would last 100 years! I think our own Opus, H.264, and 
> maybe some mobile and the Skype codec (SILK) could be honored AND of 
> course the mandatory video codec that will be selected for WebRTC (VPx or
H.26y).

Yes, but we already today have at least 126 media type names registered that
has RTP Payload formats. Out of these a significant number do requires
additional parameters, like H.264, AMR, i.e. one media type may not
represent one interoperability point but many.

Thus static assignment of codec plus parameters are totally out of the
question. We also have various different usages and none includes all the
available media types, if they would, we already now would have run out of
RTP payload types.

> 
> The need for assigning new payload types may have been small - dynamic 
> payload types works equally well - EXCEPT for the quality routing reason.
> (RSVP quality type of networks could at least know maximum bandwidth. 
> DPI guesswork could/should be avoided.) So with WebRTC, expecting to 
> finally bring us beyond POTS quality on a massive scale - we (IETF) 
> may reconsider...

IETF already have define an IP field for quality based routing and
forwarding: The DiffServ Code Point field. If you argument is that it is
difficult to agree on mapping between media types and quality to static
value being used everywhere, the same applies to RTP level. You will not be
able to make legacy abide any static assignments. So you will see voice in
the video class etc and vice versa.

> 
> If that really is impossible, is there anything stopping _the RTCWEB 
> RFC_ to recommend (MUST or SHOULD) specific _dynamic_ payload types to 
> be used for e.g. Opus:PT=111, H.264:PT=112, VP9:PT=113 etc.? That may 
> be good enough, and surely others, like SIP-client, would follow this 
> usage (or add it to their recommendations).

What would you gain if you can't rely on the PT value being used for the
defined usage. In general you will see other IP/UDP/RTP flows with
PT=111 that will be H.264, or MPEG-2 or what ever.

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. What layer do you want to achieve them at. Who are going to
react to you information and how can one trust it across administrative
boundaries. Also what scope for this information are you trying to achieve,
full end to end, only first two hops?

This is a difficult issue with no good solutions. A restricted problem may
be possible to solve, a larger one may not be realistic.

Cheers

Magnus Westerlund

----------------------------------------------------------------------
Multimedia Technologies, Ericsson Research EAB/TVM
----------------------------------------------------------------------
Ericsson AB                | Phone  +46 10 7148287
Färögatan 6                | Mobile +46 73 0949079
SE-164 80 Stockholm, Sweden| mailto: magnus.westerlund@ericsson.com
----------------------------------------------------------------------