[rtcweb] SDP lines (JSEP Issue 27)
Adam Roach <adam@nostrum.com> Mon, 30 March 2015 16:09 UTC
Return-Path: <adam@nostrum.com>
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 A943B1A19F6 for <rtcweb@ietfa.amsl.com>; Mon, 30 Mar 2015 09:09:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.011
X-Spam-Level:
X-Spam-Status: No, score=-0.011 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 BUxoz6qmskQP for <rtcweb@ietfa.amsl.com>; Mon, 30 Mar 2015 09:09:43 -0700 (PDT)
Received: from nostrum.com (raven-v6.nostrum.com [IPv6:2001:470:d:1130::1]) (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 1F7491A004B for <rtcweb@ietf.org>; Mon, 30 Mar 2015 09:09:43 -0700 (PDT)
Received: from Orochi.local (ma45636d0.tmodns.net [208.54.86.164]) (authenticated bits=0) by nostrum.com (8.15.1/8.14.9) with ESMTPSA id t2UG9fdO064880 (version=TLSv1.2 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <rtcweb@ietf.org>; Mon, 30 Mar 2015 11:09:42 -0500 (CDT) (envelope-from adam@nostrum.com)
X-Authentication-Warning: raven.nostrum.com: Host ma45636d0.tmodns.net [208.54.86.164] claimed to be Orochi.local
Message-ID: <5519753D.1080907@nostrum.com>
Date: Mon, 30 Mar 2015 11:09:33 -0500
From: Adam Roach <adam@nostrum.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:31.0) Gecko/20100101 Thunderbird/31.5.0
MIME-Version: 1.0
To: "rtcweb@ietf.org" <rtcweb@ietf.org>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/rtcweb/CltEtjdDEJhMsBXR8U97NZK2rUM>
Subject: [rtcweb] SDP lines (JSEP Issue 27)
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, 30 Mar 2015 16:09:44 -0000
Back in Hawaii, I took an action item to look over the various SDP lines to analyze their applicability to JSEP [1]. tl;dr: I think what we have in the document right now is correct and sufficient, pending the outcome of the b= conversation. ---------- I did my own analysis of SDP without having recently re-read the JSEP document, with the intention of providing a sanity check. The only thing I say below that isn't already covered by 4566 is k= (which is already governed by the "no SDES" normative language) and documenting the various fields that are of no interest for JSEP use cases (s=, i=, u=, e=, p=, z=, and t=). v= MUST set to 0. MUST verify that value is 0 on receipt, treat as malformed if not. o=, c=, m=, a= Encoded and used as described in SDP. There is no reason to surface the 'o=' username to the application. s= MUST send, MUST verify presence on receipt, treat as malformed if not. I see no reason to have API surface to set or read this. i=, u=, e=, p=, z=, r= SHOULD NOT send, MUST ignore. MUST treat as malformed if not in correct order. t= MUST include exactly one, of the form "t=0 0". MUST verify that at least one t= line is present on receipt (and is syntactically valid), but otherwise ignored. b= Ask Magnus. k= MUST NOT send. If present at session level, MUST reject all media lines. If present at media level, MUST reject that media line. In comparing these recommendations with JSEP section 5.2.1, I note that they are congruent with the existing language, modulo the ongoing conversation around "b=" (which will presumably reach its own conclusions). JSEP currently doesn't mention the ordinality of t= lines, but this seems pretty harmless. Section 5.6 in its present form appears to cover the various "malformed" cases I describe above. ____ [1] https://github.com/rtcweb-wg/jsep/issues/27#issuecomment-62786027 /a
- [rtcweb] SDP lines (JSEP Issue 27) Adam Roach
- Re: [rtcweb] SDP lines (JSEP Issue 27) Cullen Jennings
- Re: [rtcweb] SDP lines (JSEP Issue 27) Adam Roach
- Re: [rtcweb] SDP lines (JSEP Issue 27) Harald Alvestrand
- Re: [rtcweb] SDP lines (JSEP Issue 27) Cullen Jennings (fluffy)
- Re: [rtcweb] SDP lines (JSEP Issue 27) Harald Alvestrand
- Re: [rtcweb] SDP lines (JSEP Issue 27) Justin Uberti