Re: [rtcweb] Rejecting MediaStreamTracks in JSEP

Christer Holmberg <christer.holmberg@ericsson.com> Tue, 04 February 2014 14:13 UTC

Return-Path: <christer.holmberg@ericsson.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 586B11A00E9; Tue, 4 Feb 2014 06:13:41 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.639
X-Spam-Level:
X-Spam-Status: No, score=-0.639 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_SE=0.35, HOST_MISMATCH_NET=0.311, HTML_MESSAGE=0.001, J_CHICKENPOX_14=0.6, 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 HyCz_GhlXBrh; Tue, 4 Feb 2014 06:13:39 -0800 (PST)
Received: from sessmg20.mgmt.ericsson.se (sessmg20.ericsson.net [193.180.251.50]) by ietfa.amsl.com (Postfix) with ESMTP id 087FD1A00DB; Tue, 4 Feb 2014 06:13:37 -0800 (PST)
X-AuditID: c1b4fb32-b7f4c8e0000012f5-dd-52f0f5901be8
Received: from ESESSHC009.ericsson.se (Unknown_Domain [153.88.253.124]) by sessmg20.mgmt.ericsson.se (Symantec Mail Security) with SMTP id 6B.1F.04853.095F0F25; Tue, 4 Feb 2014 15:13:36 +0100 (CET)
Received: from ESESSMB209.ericsson.se ([169.254.9.99]) by ESESSHC009.ericsson.se ([153.88.183.45]) with mapi id 14.02.0387.000; Tue, 4 Feb 2014 15:13:36 +0100
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Justin Uberti <juberti@google.com>, Jonathan Lennox <jonathan@vidyo.com>
Thread-Topic: [rtcweb] Rejecting MediaStreamTracks in JSEP
Thread-Index: AQHPIRX+Di2Spk3Lw0GdFyTxI3EbsJqkDKaAgAAH3QCAAAMrAIAADvGAgAD9W7A=
Date: Tue, 04 Feb 2014 14:13:35 +0000
Message-ID: <7594FB04B1934943A5C02806D1A2204B1D15868E@ESESSMB209.ericsson.se>
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> <CAOJ7v-3wieadkcvhvS1EbkO42MGEzE+8z6Ex1ivWuO1z=xCgcg@mail.gmail.com>
In-Reply-To: <CAOJ7v-3wieadkcvhvS1EbkO42MGEzE+8z6Ex1ivWuO1z=xCgcg@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [153.88.183.19]
Content-Type: multipart/alternative; boundary="_000_7594FB04B1934943A5C02806D1A2204B1D15868EESESSMB209erics_"
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupnkeLIzCtJLcpLzFFi42KZGfG3RnfC1w9BBgsumFh0TGazOHHjNLPF /sXnmS22ThWymLr8MYvF2n/t7A5sHlN+b2T1WLCp1GPJkp9MHm3P7rAHsERx2aSk5mSWpRbp 2yVwZVz4NJ+9YEknY8XO/bOYGhjPtDJ2MXJySAiYSMz//4INwhaTuHBvPZgtJHCCUWLxbaUu Ri4gexGjxM5dJ9i7GDk42AQsJLr/aYOYIgI+Em82CYKUMAt0M0pcPNQDNlNYwFLiTsN9doga K4mV19NBwiICfhLfvl9gAbFZBFQkJm6aBmbzCvhKtD++ywKx6giTxPE/R9lBEpwCgRLTV3Uy gdiMQLd9P7UGzGYWEJe49WQ+E8TNAhJL9pxnhrBFJV4+/scKYStKtD9tYAS5gVkgX+LtKR2I XYISJ2c+YZnAKDoLyaRZCFWzkFRBhDUl1u/Sh6hWlJjS/ZAdwtaQaJ0zlx1ZfAEj+ypGyeLU 4uLcdCMDvdz03BK91KLM5OLi/Dy94tRNjMBIPbjlt9EOxpN77A8xSnOwKInzXmetCRISSE8s Sc1OTS1ILYovKs1JLT7EyMTBKdXAmBl8OYO5yLhWdu3NiwaTy06on5JecXTdeY7iIs6+byw9 m66aVi7w9OPf1bDlkfriWEWvTqkd87atnljZk2kj0+P1dvanSk9lwazly9P9JxlWq67O/pvs zMjBwHtJM1JWyq6peHPRq425/yarTHlp0vrg8LQTCU5m7O8V/rMe0TJcuPun3hM/JZbijERD Leai4kQAZrZ5g6ICAAA=
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 14:13:41 -0000

Hi,

Just for my clarification: none of this would have any impact on transport level features related to RTCP, STUN, etc?

Regards,

Christer


From: rtcweb [mailto:rtcweb-bounces@ietf.org] On Behalf Of Justin Uberti
Sent: 4. helmikuuta 2014 2:05
To: Jonathan Lennox
Cc: Cullen Jennings; Harald Alvestrand; rtcweb@ietf.org; mmusic
Subject: Re: [rtcweb] Rejecting MediaStreamTracks in JSEP



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

On Feb 3, 2014, at 6:00 PM, Justin Uberti <juberti@google.com<mailto:juberti@google.com>>
 wrote:


On Mon, Feb 3, 2014 at 2:32 PM, Jonathan Lennox <jonathan@vidyo.com<mailto:jonathan@vidyo.com>> wrote:
On Feb 3, 2014, at 2:27 PM, Justin Uberti <juberti@google.com<mailto: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.