Re: [rtcweb] partial review of draft-ietf-rtcweb-sdp-01

Paul Kyzivat <pkyzivat@alum.mit.edu> Tue, 31 May 2016 19:09 UTC

Return-Path: <pkyzivat@alum.mit.edu>
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 D415212D892 for <rtcweb@ietfa.amsl.com>; Tue, 31 May 2016 12:09:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.935
X-Spam-Level:
X-Spam-Status: No, score=-1.935 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_SOFTFAIL=0.665] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=comcast.net
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 iid7YF5lp-mZ for <rtcweb@ietfa.amsl.com>; Tue, 31 May 2016 12:09:39 -0700 (PDT)
Received: from resqmta-po-04v.sys.comcast.net (resqmta-po-04v.sys.comcast.net [IPv6:2001:558:fe16:19:96:114:154:163]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E141212D0B3 for <rtcweb@ietf.org>; Tue, 31 May 2016 12:09:38 -0700 (PDT)
Received: from resomta-po-18v.sys.comcast.net ([96.114.154.242]) by comcast with SMTP id 7p1dbzdL7IY3M7p2nbiOXZ; Tue, 31 May 2016 19:09:37 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1464721777; bh=4fSnhWB1S/amtKpYXY1ewMz6faR3zALp5sIpCwcpJt4=; h=Received:Received:Subject:To:From:Message-ID:Date:MIME-Version: Content-Type; b=ZbgOkc2uwwdWAg90JH5g0TfqBh6RpNKdvzDLwakB8Rdu/rI2p1vSuNyeZuuavbGTv CCmjBn6z/tj/jm/J2t8XkY7tySn/YohRI7GnPUjDpSVTaX1nZCNQrdvOl51T07SBEs xQIi1bgrbqdxCfZDFHUCVuRncDXJuQK33ZrlpoZAzVJ7H8Lc+8gS6RM4pDg/0fkP+M 32Q0eIRI8OA+qhoGLw3IrJ7VNx3Po+q2kYju3yo0lPATBO28TppyZnEShcq3zl14S2 R7qmA01QOj4uKU99MJAgTrFYZ273r88BMzT7ejMf3e1SdFXANMFy0jcp/KbRXZVOID zs4riNLEGeqUg==
Received: from Paul-Kyzivats-MacBook-Pro.local ([73.218.51.154]) by resomta-po-18v.sys.comcast.net with comcast id 179c1t00R3KdFy10179cAQ; Tue, 31 May 2016 19:09:37 +0000
To: rtcweb@ietf.org
References: <fe9c0380-1c43-9737-830d-747e986389a1@alum.mit.edu>
From: Paul Kyzivat <pkyzivat@alum.mit.edu>
Message-ID: <20582c8f-be8e-abc7-32b9-4b21166102e2@alum.mit.edu>
Date: Tue, 31 May 2016 15:09:35 -0400
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:45.0) Gecko/20100101 Thunderbird/45.1.0
MIME-Version: 1.0
In-Reply-To: <fe9c0380-1c43-9737-830d-747e986389a1@alum.mit.edu>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/rtcweb/MEG6zrpWGQiEdTTFxyHuR0ZU1fk>
Subject: Re: [rtcweb] partial review of draft-ietf-rtcweb-sdp-01
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.17
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, 31 May 2016 19:09:41 -0000

Another general issue:

I have been *trying* to verify the consistency in use of ports, IP 
addresses, fingerprints, ice ufrag info, ice passwords, ssrcs, cnames, etc.

Of course this is excruciating to do. (For a reviewer like me, and also 
for a potential implementer trying to understand the examples.)

My preliminary take is that there are a number of errors. A lot of them 
are probably cut/paste errors. With sufficient analysis it is sometimes 
possible to figure out what was intended vs. what is written. But it is 
hard with this much stuff.

It would be easier if, instead of using random sample values, the values 
were replaced with semantically relevant and easily recognized values. 
(E.g., "ALICE-SSRC-1", "TED-CNAME-2") Unfortunately I don't think this 
can be done while also having those values by syntactically valid.

I think I will end up making such a replacement myself, in a local copy, 
simply to assist in analyzing what is there.

	Thanks,
	Paul

On 5/30/16 6:14 PM, Paul Kyzivat wrote:
> Ted asked if I would do a review of draft-ietf-rtcweb-sdp-01. I started,
> but it is taking a long time. I'm sending what I have so far to give you
> something to consider/work on.
>
> In order to simplify this review for both me and readers, I will in
> general only mention an issue once, the first time I find it, and be
> silent on future occurrences of the same issue.
>
> * In general in the examples it would be very helpful if you would
> include a blank line prior to each m-line. When reading these it is
> currently hard to find the m-lines, which is something needed when
> trying understand and compare things.
>
> * Section 3:
>
> I realize this is for a webrtc oriented reader, so I am trying to
> understand it from that perspective. Even so, I have trouble with
> classifying a=ice* as "Security Descriptions". Given the existing
> categories I would think they better belong in "Stream Description".
>
> * Section 5.1:
>
>    o  The term "Session" is used rather loosely in this document to
>       refer to either a "Communication Session" or a "RTP Session" or a
>       "RTP Stream" depending on the context.
>
> This seems like a bad idea. It may be forgivable to mix communication
> session and RTP session in examples where a single bundle is used for
> all media, or there is only one m-line. But not if multiple m-lines
> aren't bundled, and not with RTP Stream.
>
> OTOH, so far I haven't noticed any place where this is an issue.
>
> * Section 5.2.1:
>
> The SDP line-wrapping convention described in 5.1 isn't being used in
> the example.
>
> Is there a reason for including the IP address in the a=rtcp line, when
> it is the same as the address in the c= line, which is the default?
>
> Is there any expectation that a=ptime:60 only applies to opus? IIUC this
> should be interpreted ad applying to all codecs mentioned in the m-line.
> (There is no order-dependence among attributes within a single media
> section. AFAIK there is no way of specifying a separate ptime for
> individual codecs in an m-line.)
>
> Use of sha-1 in a=fingerprint is about to become incorrect according to
> draft-ietf-mmusic-4572-update-03. That work is being driven by rtcweb,
> so I would think you would want to reflect it here.
>
> The way tables are formatted in RFC format can make the examples
> confusing to readers: the label for table 1 falls exactly between the
> bottom of the table it describes and the following table. When viewed on
> a screen it is difficult to tell what each table is. I suggest tweaking
> the contents of the tables to make this clearer. E.g.,
>
>    +----------------------------------+--------------------------------+
>    | SDP Contents - Offer             | RFC#/Notes                     |
>    +----------------------------------+--------------------------------+
>
> In Table 2, the o-line has two spaces after the "-". It should only be one.
>
> * Section 5.2.3:
>
> Table 5 has ice and fingerprint attributes prior to the first m-line.
>
> The m-line and associated attributes for the data channel is
> inconsistent with draft-ietf-mmusic-sctp-sdp-16. I think it ought to be
> (more or less):
>
> m=application 56966 UDP/DTLS/SCTP webrtc-datachannel
> c=IN IP4 24.23.204.141
> a=mid:data
> a=sctp-port:5000
> a=setup:actpass
> ...
>
> If you really want to negotiate the usage of channel 1, then it also
> needs to include:
>
> a=dcmap:1 subprotocol="chat";label="channel 1"
>
> (Note: this presumes that "chat" is a registered subprotocol. It isn't!)
>
> * Section 5.2.4:
>
> This seems fine if Bob intends to send audio (e.g. MoH). If not then it
> would be better to answer a=inactive.
>
> * Section 5.2.5:
>
> Has there been any discussion of pros/cons of having DTMF on a separate
> m-line and a separate ssrc? If one or both ends actually think of DTMF
> as being part of another audio stream then this might present problems.
> This could especially be true for interoperation with telephony devices.
>
> Is there anything in rtcweb that prevents having these on the same
> m-line and ssrc?
>
> * Section 5.2.7:
>
> Note that the BAS concept has been removed from Bundle, so you at least
> shouldn't refer to it. (You can still do the O/A if you want.)
>
> In Table 14 (answer), why are ice attributes and fingerprints given
> separately (and differently) for the two m-lines? (Even though the ports
> and addresses are the same.) This is contrary to current bundle (-29)
> procedures.
>
> In the 2nd (BAS) offer there is a gratuitous change in ordering of
> several of the attributes. (Makes it difficult to see what has changed.)
> I also don't understand the other differences between the ice and
> fingerprints in audio and video, and between this and the first offer.
>
> * Section 5.2.8:
>
> This example *assumes* bundle support, and so uses the same addr/port
> for bundled m-lines. But this will fail badly if the assumption turns
> out to be wrong. When making this assumption you ought to use
> bundle-only in the initial offer to ensure nothing bad happens if the
> assumption of bundle support by answerer turns out to be wrong. AFAIK
> there is no downside to doing this.
>
> Again this doesn't follow current bundle rules.
>
> =======
>
> That's as far as I have gotten. (Slow going.) I'll try to get you more
> later.
>
>     Thanks,
>     Paul
>
> _______________________________________________
> rtcweb mailing list
> rtcweb@ietf.org
> https://www.ietf.org/mailman/listinfo/rtcweb
>