Re: [MMUSIC] Reviewing the SCTP SDP draft - draft-ietf-mmusic-sctp-sdp-05

Paul Kyzivat <pkyzivat@alum.mit.edu> Mon, 16 December 2013 18:38 UTC

Return-Path: <pkyzivat@alum.mit.edu>
X-Original-To: mmusic@ietfa.amsl.com
Delivered-To: mmusic@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A96831AE0C6 for <mmusic@ietfa.amsl.com>; Mon, 16 Dec 2013 10:38:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.235
X-Spam-Level:
X-Spam-Status: No, score=-1.235 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_SOFTFAIL=0.665] autolearn=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 5XyQ9ALlQLbw for <mmusic@ietfa.amsl.com>; Mon, 16 Dec 2013 10:38:48 -0800 (PST)
Received: from qmta10.westchester.pa.mail.comcast.net (qmta10.westchester.pa.mail.comcast.net [IPv6:2001:558:fe14:43:76:96:62:17]) by ietfa.amsl.com (Postfix) with ESMTP id F12A51AE031 for <mmusic@ietf.org>; Mon, 16 Dec 2013 10:38:47 -0800 (PST)
Received: from omta19.westchester.pa.mail.comcast.net ([76.96.62.98]) by qmta10.westchester.pa.mail.comcast.net with comcast id 2D3U1n00227AodY5AJenR2; Mon, 16 Dec 2013 18:38:47 +0000
Received: from Paul-Kyzivats-MacBook-Pro.local ([50.138.229.164]) by omta19.westchester.pa.mail.comcast.net with comcast id 2Jem1n01F3ZTu2S3fJemEF; Mon, 16 Dec 2013 18:38:47 +0000
Message-ID: <52AF48B6.8060107@alum.mit.edu>
Date: Mon, 16 Dec 2013 13:38:46 -0500
From: Paul Kyzivat <pkyzivat@alum.mit.edu>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:24.0) Gecko/20100101 Thunderbird/24.1.1
MIME-Version: 1.0
To: IETF MMUSIC WG <mmusic@ietf.org>
References: <52AEF91E.3030101@ericsson.com>
In-Reply-To: <52AEF91E.3030101@ericsson.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 8bit
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20121106; t=1387219127; bh=EXVLIdqE7+LyGgoo1w/KRcHOHQGE1mv14Cnnc9U7NLw=; h=Received:Received:Message-ID:Date:From:MIME-Version:To:Subject: Content-Type; b=Z0ElP5t8zsrQlnH9sR9qlhNh1WlBXxkzYbfd6gB6ZBJI0LcXy4WNUzTBCkVNkvf07 QJE7b7qnJVLQmi3I8L/q7Zi7s0Wegt+p5v4qYW5cyu5n+Vi6R/rBsBgHFZOjH+70b7 MzRI/GZOMhERzb+tiZ6ZNEP4wvpp0v9GCWp9Ibo8B7kCnmFBKTItcCzlpNrl7sd6Z9 kBJB19g8XNNiVa0M8sG8YslP0fzI27y5E1OAkxoXkFcJ63K+npu/PVHmAeK6HbsjcO SKY6ZfuFYLyC7Paerm4V7pKZ9zyyDrUPMVZB9mYpHyYLK8BMZe1siHSvpaCnyJJ72l AIH5A0+8q+y4A==
Subject: Re: [MMUSIC] Reviewing the SCTP SDP draft - draft-ietf-mmusic-sctp-sdp-05
X-BeenThere: mmusic@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Multiparty Multimedia Session Control Working Group <mmusic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mmusic>, <mailto:mmusic-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/mmusic/>
List-Post: <mailto:mmusic@ietf.org>
List-Help: <mailto:mmusic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mmusic>, <mailto:mmusic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 16 Dec 2013 18:38:49 -0000

Here is the review I promised of draft-ietf-mmusic-sctp-sdp-05.

(This isn't a full WGLC-like review. I focused on things that popped up 
in the diff from the prior version. That gave me enough.)

There are a number of problems in section 5.1:

>       sctpmap-attr        =  "a=sctpmap:" sctpmap-number media-subtypes [streams]

Nit: This line is too long.

>       sctpmap-number      =  1*DIGIT
>       protocol            =  labelstring
>         labelstring         =  text
>         text                =  byte-string
>       streams      =  1*DIGIT

The "media-subtypes" in this draft replaces "protocol" in the prior 
version. But this change is incomplete. The symbol "media-subtypes" is 
not defined, but the old symbol "protocol" is still defined but 
unreferenced.

Just renaming the definition of "protocol" isn't a sufficient fix - that 
definition has its own problems. It is currently ultimately defined as a 
byte-string. This allows almost anything, and so it is incompatible with 
allowing anything else on the line after it. (Such as "[streams]".) A 
more restrictive definition is needed. (E.g., "token".)

I note that "media-subtypes" is plural. Is that intended? Is there a 
desire to allow more than one? There is *no* discussion of 
"media-subtypes" in the document. That also needs to be fixed.

While I understand the intent, IMO the symbol "streams" is not ideal. It 
sounds like something intended to identify specific streams rather than 
a bound on the number of streams. I suggest renaming this to something 
like "max-streams".

A possibility to clean up some of the things above is:

       sctpmap-attr        =  "a=sctpmap:" sctpmap-number
                              media-subtypes [max-streams]
       sctpmap-number      =  1*DIGIT
       media-subtypes      =  token
       max-streams         =  1*DIGIT

My first thought was that "media-subtypes" was intended to specify a 
mime-type, such as is used to define a codec. And the examples using T38 
suggest that. But if that is so, it needs to have both type and subtype 
(e.g., "image/t38"), and that would require a further syntax change. But 
I don't think that works. ISTM that the protocol needs to be defined per 
sctp-stream-id. Defining it for an entire sctp port would mean that all 
the streams would have the same mime-type. That is generally unrealistic.

I think addressing that means defining a new attribute. And that is 
already being addressed by 
draft-ejzak-dispatch-webrtc-data-channel-sdpneg-00.

Perhaps "media-subtypes" isn't needed at all.

	Thanks,
	Paul


On 12/16/13 7:59 AM, Ari Keränen wrote:
> Hi Ekr, Paul, and Roni,
>
> Thanks once more for volunteering at the Vancouver meeting to review the
> SCTP SDP draft. We hope to see your reviews soon so that we can move the
> draft forward.
>
> Here's a link to the latest revision:
> http://tools.ietf.org/html/draft-ietf-mmusic-sctp-sdp-05
>
>
> Cheers,
> Ari
>