Re: [rtcweb] Rejecting MediaStreamTracks in JSEP

Justin Uberti <juberti@google.com> Tue, 04 February 2014 00:05 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 A29481A02B4 for <rtcweb@ietfa.amsl.com>; Mon, 3 Feb 2014 16:05:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.313
X-Spam-Level:
X-Spam-Status: No, score=-1.313 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, J_CHICKENPOX_14=0.6, RP_MATCHES_RCVD=-0.535, SPF_PASS=-0.001] 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 F_lo4o1XYpeb for <rtcweb@ietfa.amsl.com>; Mon, 3 Feb 2014 16:05:37 -0800 (PST)
Received: from mail-vc0-x230.google.com (mail-vc0-x230.google.com [IPv6:2607:f8b0:400c:c03::230]) by ietfa.amsl.com (Postfix) with ESMTP id B472A1A02A3 for <rtcweb@ietf.org>; Mon, 3 Feb 2014 16:05:36 -0800 (PST)
Received: by mail-vc0-f176.google.com with SMTP id la4so5213932vcb.21 for <rtcweb@ietf.org>; Mon, 03 Feb 2014 16:05:36 -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=7T/G6xCNG5X0+ybGVe9syqSR6QssH3tLZ7VPCIXII0Q=; b=mE7oCMucOTZl2CDcWx/RHTiFQKFoon9IrL3dyOAHZfHXZO7N0o7sdmSUokZMLPD+i5 bt4LVo4p17RsGj+4E8zfLgUHcB7MHDiM8J1zQDpeVoY2qRwIR13O5PZ4kHXoMGl1WqhJ Gat82KKN/ZY8noy7ZnqYK5k9NQT9eBlVN0hcOL8HKkK7A17rYIOGNF/DeSCctRF5S6WZ wJkVpndUOAKuhawlSu8YYyha+4reB842NEixQWNiLEnUyIAYtsf1d/ZJHw/6A4OgS1s2 QwoKDu1xiy/K8Hi21/jyqzkcmy0vIsNYclTATnTMte7cXS7lkLheFH1lpJU+bvY4D5ZJ iWLQ==
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=7T/G6xCNG5X0+ybGVe9syqSR6QssH3tLZ7VPCIXII0Q=; b=PC+zVSABZYdVWCK15uVHq4ZaSAGqPTnYCN76pYsgDou7tSuTsSUkt9+ikRhHN+XkBp OEzMLLpEq7AEZd20RvsszSuMtZsRCEzTZsGELYkPdhU7qF1dGEYJMZMv2SjxTjt9wvtv oZJomHsAa0AD2r1XH+AGeBrTtTH/EkGFPB7evfl3iL15uAtsPB90c/wQJtAjOxyMm2kj 22798mvmn/n0raVy4Qp3RGiytejboZe6+nFg756r/F30wzUCdtQTX4Nd1l3zwfHNi7cs peRi7MSQraKV2TVhNmkvbsHlkpNnwJMDLpBI9BzcRj/CBxfu6R0zpOPdFdgjmCLE+nS1 WFMw==
X-Gm-Message-State: ALoCoQmsiLI/66tppBfKTnrUO34j2ZIdvxba088HrUYtV5R+GM37P5EMSIibrCE9IOY3Tp9C24qtFy8iPHO1M4b9Sc8rcyFV4C6peUbvu1Dmse/pcsADMhZbg/hxN2viSwvOfdJQ1oygaD/IzozSOjTW6H/FFShWleEhzAEjAlFMA2/EX+xUH80wtiC5TgIGzxCh2jt5rSjm
X-Received: by 10.53.1.231 with SMTP id bj7mr611vdd.55.1391472336273; Mon, 03 Feb 2014 16:05:36 -0800 (PST)
MIME-Version: 1.0
Received: by 10.52.89.170 with HTTP; Mon, 3 Feb 2014 16:05:15 -0800 (PST)
In-Reply-To: <9E51C939-CCFE-4EA6-83BF-9B871D64CDA0@vidyo.com>
References: <CAOJ7v-22T7hLMdC2je0nLk34MXQ8L+JFWLtAz--6Ryt+DMaMvQ@mail.gmail.com> <C433A27C-348A-402A-B036-07060746FADA@vidyo.com> <CAOJ7v-0S4C+P6hv2rrTCpFvvq1eVBfbuxb+QGQyAP5mG0yb2uQ@mail.gmail.com> <9E51C939-CCFE-4EA6-83BF-9B871D64CDA0@vidyo.com>
From: Justin Uberti <juberti@google.com>
Date: Mon, 03 Feb 2014 16:05:15 -0800
Message-ID: <CAOJ7v-3wieadkcvhvS1EbkO42MGEzE+8z6Ex1ivWuO1z=xCgcg@mail.gmail.com>
To: Jonathan Lennox <jonathan@vidyo.com>
Content-Type: multipart/alternative; boundary="001a1133ed3a51b0a304f1896696"
Cc: Cullen Jennings <fluffy@cisco.com>, Harald Alvestrand <hta@google.com>, "rtcweb@ietf.org" <rtcweb@ietf.org>, mmusic <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: Tue, 04 Feb 2014 00:05:40 -0000

On Mon, Feb 3, 2014 at 3:11 PM, Jonathan Lennox <jonathan@vidyo.com> wrote:

>
>  On Feb 3, 2014, at 6:00 PM, Justin Uberti <juberti@google.com>
>  wrote:
>
>  On Mon, Feb 3, 2014 at 2:32 PM, Jonathan Lennox <jonathan@vidyo.com>wrote:
>
>>  On Feb 3, 2014, at 2:27 PM, Justin Uberti <juberti@google.com> wrote:
>>
>>  Also, this essentially makes recv-appId the converse of MSID; for
>> simplicity, I think we should consider unifying these concepts into a
>> single document.
>>
>>
>>  AppID (as I envision it, as the author) and MSID (as I understand it)
>> have rather different scopes, which are visible once sources are sent using
>> more than one packet stream.
>>
>>  For example, an m-line which has both a primary encoded stream (of
>> media) and a redundancy stream (of rtx packets) would have two appid
>> values, but only one msid.  On the receive side, if you wanted to receive
>> both a primary encoded stream and a redundancy stream, you would have two
>> recv-appid values.
>>
>>  As such, appid and msid are solving different (though related)
>> problems, and I don't think unifying them is a good idea.
>>
>>  Perhaps we need a recv-msid, explicitly?
>>
>
>  That would be fine by me - it would allow a single invention (msid +
> recv-msid) to focus on solving the three identified problems with MSTs in
> unified-plan:
> - correlation of a MediaStreamTrack to m= line in signaling (msid)
> - correlation of packets from a MST to m= line ahead of signaling
> (recv-msid)
> - rejection of an individual MST (recv-msid)
>
>  Based on your description, appid seems to go one or two levels down from
> a MST to an individual RTP flow, but we can let that develop on its own,
> separate from the timetable of webrtc 1.0 and unified plan.
>
>
>  Points 1 and 3 make sense to me, and are I think what msid is for; but I
> don't think point 2 will work.
>
>  I don't think a single, m-line-wide, identifier will work for the
> correlation-ahead-of-signaling problem, once you have multiple RTP flows in
> the m-line.  That's why we've designed appid the way we have.
>

>  I think appid is the right solution to point 2.  More specifically, the
> problem appid is solving is better expressed as the correlation of packets
> from an RTP flow to an m-line; the correlation from the m-line to a MST is
> a separate step, and is msid's job.
>

Agree that msid should map m-line to MST, but it would seem recv-msid could
map RTP flow to m=line as well as indicate whether the receiver is in fact
interested in receiving the MST associated with said m= line. Note that
recv-msid doesn't specify an actual MSID; its purpose is to indicate that
the receiver wants to receive data from the remote side's MST, and provide
a mechanism for the sender to mark the data accordingly. (Which ends up
seeming a lot like appid.)

Generally, I am hesitant to depend on 3 things if we think we could get by
with only 2.