Re: [rtcweb] Rejecting MediaStreamTracks in JSEP

Adam Roach <adam@nostrum.com> Mon, 03 February 2014 20:20 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 B24AD1A0207 for <rtcweb@ietfa.amsl.com>; Mon, 3 Feb 2014 12:20:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.435
X-Spam-Level:
X-Spam-Status: No, score=-0.435 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_MISMATCH_COM=0.553, HOST_MISMATCH_NET=0.311, HTML_MESSAGE=0.001, J_CHICKENPOX_18=0.6] 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 4i57C0d_gPgX for <rtcweb@ietfa.amsl.com>; Mon, 3 Feb 2014 12:20:01 -0800 (PST)
Received: from shaman.nostrum.com (nostrum-pt.tunnel.tserv2.fmt.ipv6.he.net [IPv6:2001:470:1f03:267::2]) by ietfa.amsl.com (Postfix) with ESMTP id 3584A1A01FB for <rtcweb@ietf.org>; Mon, 3 Feb 2014 12:20:01 -0800 (PST)
Received: from orochi-2.roach.at (99-152-145-110.lightspeed.dllstx.sbcglobal.net [99.152.145.110]) (authenticated bits=0) by shaman.nostrum.com (8.14.3/8.14.3) with ESMTP id s13KJnth040655 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Mon, 3 Feb 2014 14:19:50 -0600 (CST) (envelope-from adam@nostrum.com)
Message-ID: <52EFF9E0.40808@nostrum.com>
Date: Mon, 03 Feb 2014 14:19:44 -0600
From: Adam Roach <adam@nostrum.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
MIME-Version: 1.0
To: Justin Uberti <juberti@google.com>, "rtcweb@ietf.org" <rtcweb@ietf.org>, Cullen Jennings <fluffy@cisco.com>
References: <CAOJ7v-22T7hLMdC2je0nLk34MXQ8L+JFWLtAz--6Ryt+DMaMvQ@mail.gmail.com>
In-Reply-To: <CAOJ7v-22T7hLMdC2je0nLk34MXQ8L+JFWLtAz--6Ryt+DMaMvQ@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------000807000107020001010907"
Received-SPF: pass (shaman.nostrum.com: 99.152.145.110 is authenticated by a trusted mechanism)
Subject: Re: [rtcweb] Rejecting MediaStreamTracks in JSEP
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, 03 Feb 2014 20:20:03 -0000

On 2/3/14 13:27, Justin Uberti wrote:
> Therefore, I think we need some similar way for a receiver to do the 
> same for a remote track.

Yes.

> And fortunately, I think we have a surface that can be used for this, 
> namely the "recv-appId" attribute that has been discussed in the 
> context of unified-plan and explained in 
> http://tools.ietf.org/id/draft-even-mmusic-application-token-02.txt 
> and unified-plan. If an endpoint doesn't want to receive a particular 
> track on a m= line, it sets the m= line to a=sendonly and also removes 
> any a=recv-appId.

No.

The problem is that you're defining semantics to a behavior that is 
indistinguishable from the behavior exhibited by something that does not 
support app-id: if the thing on the other end isn't using app-id, then 
an attempt to put a stream on hold will be misinterpreted as an attempt 
to reject or remove it.

I agree that we want an SDP operation that differentiates between "don't 
send me this now" and "don't send me this ever" [1]  -- but it needs to 
be explicit. Something more like "a=i-am-rejecting-this-stream", but 
with a less cumbersome name.

/a


____
[1] Along with a Javascript control that allows us to do the same thing, 
but that's a W3C issue.