Re: [rtcweb] [tram] Payload Types assignments

Harald Alvestrand <harald@alvestrand.no> Mon, 17 March 2014 15:38 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 4AC1E1A02F5 for <rtcweb@ietfa.amsl.com>; Mon, 17 Mar 2014 08:38:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.846
X-Spam-Level:
X-Spam-Status: No, score=-1.846 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, J_CHICKENPOX_37=0.6, RP_MATCHES_RCVD=-0.547] 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 DHAQmlEwzmXx for <rtcweb@ietfa.amsl.com>; Mon, 17 Mar 2014 08:38:36 -0700 (PDT)
Received: from mork.alvestrand.no (mork.alvestrand.no [IPv6:2001:700:1:2::117]) by ietfa.amsl.com (Postfix) with ESMTP id 39BF71A02FD for <rtcweb@ietf.org>; Mon, 17 Mar 2014 08:38:36 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mork.alvestrand.no (Postfix) with ESMTP id BA26B7C5023 for <rtcweb@ietf.org>; Mon, 17 Mar 2014 16:38:27 +0100 (CET)
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 mZB4tweLQEU9 for <rtcweb@ietf.org>; Mon, 17 Mar 2014 16:38:25 +0100 (CET)
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 CA2387C4F48 for <rtcweb@ietf.org>; Mon, 17 Mar 2014 16:38:25 +0100 (CET)
Message-ID: <532716F1.4030109@alvestrand.no>
Date: Mon, 17 Mar 2014 16:38:25 +0100
From: Harald Alvestrand <harald@alvestrand.no>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.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> <5253E5EB.8030608@alvestrand.no> <02bf01cecf34$35e174a0$a1a45de0$@stahl@intertex.se> <04dd01cf31ad$0fe62d00$2fb28700$@stahl@intertex.se> <580B467D-4679-4DE1-96DE-CA37DE755563@csperkins.org> <052e01cf31cb$5311a0a0$f934e1e0$@stahl@intertex.se> <530C56CD.3010003@ericsson.com> <025d01cf3e9a$f4267340$dc7359c0$@stahl@intertex.se>
In-Reply-To: <025d01cf3e9a$f4267340$dc7359c0$@stahl@intertex.se>
Content-Type: multipart/alternative; boundary="------------000209070002030103090505"
Archived-At: http://mailarchive.ietf.org/arch/msg/rtcweb/kDP84R1VCPto80woR5memXBCTU8
Subject: Re: [rtcweb] [tram] Payload Types assignments
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: Mon, 17 Mar 2014 15:38:42 -0000

On 03/13/2014 10:02 AM, Karl Stahl wrote:
>
> For the"mission to bring quality to real-time traffic over our best 
> effort Internet" I have started 
> http://www.ietf.org/mail-archive/web/tram/current/msg00331.html
>
> [tram] [rtcweb] The way to "Interfacing to QoS", A level 3-5 
> IP/IETF/WebRTC-thing how to interface to lower level's QoS-stuff [1] [2]
>
> Hi Magnus,
>
> With the response just sent to Pål 
> http://www.ietf.org/mail-archive/web/rtcweb/current/msg11846.html, 
> skipping all the QoS methods and functions that really does not belong 
> here when creating an "Interface to QoS", I only see the suggestion of 
> "data channel information", i.e. also marking each data channel packet 
> with traffic bandwidth and type information  to be relevant and 
> interesting. I checked with one of our developers and I think the same 
> traffic information as for RTP can be transferred in data channel 
> packets as follows:
>
> The RTP header has the following format (RFC 3550):
>
> 0                   1                   2 3
>
>     0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
>
> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>
> |V=2|P|X|  CC   |M|     PT      |       sequence number         |
>
> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>
> | timestamp                           |
>
> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>
> |           synchronization source (SSRC) identifier            |
>
> +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
>
> |            contributing source (CSRC) identifiers             |
>
> | ....                              |
>
> +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
>
> |            RFC5285 header extension ...                      |
>
> |     2 bytes Max Bandwidth     |   2 bytes Traffic Type        |
>
> | ....                              |
>
> RTP Payload (often encrypted)
>
> A Data Channel header could have the following format:
>
> 0                   1                   2 3
>
>     0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
>
> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>
>    | Data Channel Magic Cookie   |      (sequence number) |
>
> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>
> | timestamp                           |
>
> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>
> |           synchronization source (SSRC) identifier            |
>
> +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
>
> |            contributing source (CSRC) identifiers             |
>
> | ....                              |
>
> +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
>
> |            RFC5285 header extension ...                      |
>
> |     2 bytes Max Bandwidth     |   2 bytes Traffic Type        |
>
> | ....                              |
>
>   DTLS Header 13 bytes
>
>   SCTP
>
> The RFC5285 header extension is not in a fixed position in any of 
> these cases, but still trivial to find (especially when in  a TURN 
> flow). This could be introduced in 
> http://tools.ietf.org/html/draft-ietf-rtcweb-data-channel-07#section-5
>
> by making room for these bytes after the UDP header, but before the 
> DTLS header.
>
> What do you think?
>


No.

We've chosen to make Data Channel a protocol within DTLS, and not use 
any unencrypted headers for it. Neither does the data channel have any 
concept resembling SSRC, CSRC or timestamp. Changing to an RTP-based 
format such as the one you propose would be a drastic revision of the spec.

There's no reason to believe such a revision at this time has any 
traction in the WG.