Re: [rtcweb] Rejecting MediaStreamTracks in JSEP

Justin Uberti <juberti@google.com> Mon, 03 February 2014 21:22 UTC

Return-Path: <juberti@google.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 DEEC21A0251 for <rtcweb@ietfa.amsl.com>; Mon, 3 Feb 2014 13:22:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.913
X-Spam-Level:
X-Spam-Status: No, score=-1.913 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-0.535, SPF_PASS=-0.001] 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 ArPW2fY4g3Qf for <rtcweb@ietfa.amsl.com>; Mon, 3 Feb 2014 13:22:21 -0800 (PST)
Received: from mail-ve0-x236.google.com (mail-ve0-x236.google.com [IPv6:2607:f8b0:400c:c01::236]) by ietfa.amsl.com (Postfix) with ESMTP id 91A691A0248 for <rtcweb@ietf.org>; Mon, 3 Feb 2014 13:22:21 -0800 (PST)
Received: by mail-ve0-f182.google.com with SMTP id jy13so5305709veb.41 for <rtcweb@ietf.org>; Mon, 03 Feb 2014 13:22:21 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=CT8HpjzuF3dDIPq1GNmETpLO6uN8fsES7N0mPgKKAAw=; b=oYOWbY+QnFRsZOly+J9xKGdelKg/C9yuGFA7FKy4CSSV6IcTxRjH632+923Ih2GBze JHEC3Q+Ah2zlhv7Pugh8uwHbPSHYgAV0bwk8S9Cmhsymf82PpkY5uDdOCSLaRb1/5IVs MvVlCI0Iby8CmzCY2Po8ug3JqsjcjonG06wCE1kdxhEF/lZRQGs21MGN3IvLXX3eg6hp 5eQ7wxVqa4PWY296YIm4XxSdaWh81sYwhDgfp9uibKUnsmy0XooaaUqW+YH74Ve+wIsZ jf7Rj4bmcJ4K9M2/YuzFnCRaZTk6kcs6JbiU/SaGQ4vkurgE7tjCFPi6shdNPokc3VJm hD0w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=CT8HpjzuF3dDIPq1GNmETpLO6uN8fsES7N0mPgKKAAw=; b=gHZWNjDIERvznMmvFYiqyvXlrAmeM49mWy6E/ZKXm4tcCCWbTS2C2bDo7OROyLYLVY yk2MnoAMOiU369U9rc3dzEH+lGsdV8rV97sfK2fALo9OYVcXzJmghVMZvV/EgBd+wczK HU1QAZ8/zkVMYcOIv0EAGW5PjaMW71h1JeN2WvFKdSvG89kb5vZM8786Uf0IFJIHoDEz nO44k46qcKKWBdiSrtEKp7/r05jD79J6GE+NyRkk6WekOZGrGTa25AST4gsjZDpH5Mru yEc5+ORtVLTUbg5tZBnUDRThzwuoNefnYIu24K5yRNcIeFjgWwWGTvpBh4P6oTAKQuh6 JJlQ==
X-Gm-Message-State: ALoCoQnH4S/l/cP3OwJe3XhD+urnvounPcSE3Fxq77FEws+w5zqf6dqlL2Pfr9/GjmzZ12t+vamyxbW83WYpdIKV5PfEBr0kpDO0BQzMiUi57nsx5+RykziAZynKF+eV9BYHHbWZlTxxo7233ERuAVeJZ/6kcIMwf97ovO2YF1E8tmo8HLWSA9QBbqS6WUb2CcGC8EfnwPeR
X-Received: by 10.52.95.233 with SMTP id dn9mr25200434vdb.3.1391462541077; Mon, 03 Feb 2014 13:22:21 -0800 (PST)
MIME-Version: 1.0
Received: by 10.52.89.170 with HTTP; Mon, 3 Feb 2014 13:22:00 -0800 (PST)
In-Reply-To: <52F005D5.1020702@nostrum.com>
References: <CAOJ7v-22T7hLMdC2je0nLk34MXQ8L+JFWLtAz--6Ryt+DMaMvQ@mail.gmail.com> <52EFF9E0.40808@nostrum.com> <CAOJ7v-2adSjCiwEp=QRcY+=cYKiiubyjz=rjeMHH4qC56BP1Vg@mail.gmail.com> <52EFFF3E.9080705@nostrum.com> <CAOJ7v-1iLOuJ-MhHpGp99j1qNieQTP9=EmTpibCh21fj5-6hMA@mail.gmail.com> <52F005D5.1020702@nostrum.com>
From: Justin Uberti <juberti@google.com>
Date: Mon, 03 Feb 2014 13:22:00 -0800
Message-ID: <CAOJ7v-2MLWmuKCB1uL=fu2AVr4OkJ5dTXKXLBmv4kh=UqYm8Ug@mail.gmail.com>
To: Adam Roach <adam@nostrum.com>
Content-Type: multipart/alternative; boundary="001a1136b6107ac4b404f1871e5f"
Cc: Cullen Jennings <fluffy@cisco.com>, "rtcweb@ietf.org" <rtcweb@ietf.org>, "mmusic@ietf.org" <mmusic@ietf.org>
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 21:22:25 -0000

On Mon, Feb 3, 2014 at 1:10 PM, Adam Roach <adam@nostrum.com> wrote:

>  On 2/3/14 15:03, Justin Uberti wrote:
>
>
> On Mon, Feb 3, 2014 at 12:42 PM, Adam Roach <adam@nostrum.com> wrote:
>
>> On 2/3/14 14:25, Justin Uberti wrote:
>>
>>> It's not clear to me that adding a new attribute would solve any problem
>>> that appid doesn't solve; you still need to deal with the "other end not
>>> using it" issue.
>>>
>>
>>  Regardless of whether you think there's a problem in the legacy interop
>> case, the big benefit here is that an explicit indicator by definition
>> makes the operation explicit, and that in-and-of-itself is a good thing.
>>
>> The core issue is that you're trying to make the operation implicit; your
>> proposal edges awfully close to the DWIM model of design, which we know
>> causes problems when we try to add further extensions.
>
>
>  Good point, but since we are still defining exactly what appId does, I
> think we have the opportunity to make it explicit.
>
>
> I think I agree, but this isn't congruent with the proposal you made
> before. Omitting app-id as a means of rejecting a stream is an implicit
> operation, regardless of how well it's documented.
>
> If you want to have something like "a=recv-appId:reject", that would be
> suitably explicit, but I really have a hard time imagining how something
> like that would be preferable to just having a new attribute.
>

I was thinking a=recv-appId:0, which is both explicit, and has parallels
with the zero port form of rejecting a m= line.