Re: [rtcweb] Proposal for dealing with CNAMEs and MSIDs for synchronization

"Timothy B. Terriberry" <tterriberry@mozilla.com> Tue, 19 February 2013 15:58 UTC

Return-Path: <tterriberry@mozilla.com>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9A30721F89E5 for <rtcweb@ietfa.amsl.com>; Tue, 19 Feb 2013 07:58:04 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.677
X-Spam-Level:
X-Spam-Status: No, score=-2.677 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_MISMATCH_ORG=0.611, HOST_MISMATCH_COM=0.311, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OKjmaB4vixEy for <rtcweb@ietfa.amsl.com>; Tue, 19 Feb 2013 07:58:04 -0800 (PST)
Received: from smtp.mozilla.org (mx2.corp.phx1.mozilla.com [63.245.216.70]) by ietfa.amsl.com (Postfix) with ESMTP id 524A221F880F for <rtcweb@ietf.org>; Tue, 19 Feb 2013 07:58:03 -0800 (PST)
Received: from [132.177.252.38] (unknown [132.177.252.38]) (Authenticated sender: tterriberry@mozilla.com) by mx2.mail.corp.phx1.mozilla.com (Postfix) with ESMTPSA id 717AFF225C for <rtcweb@ietf.org>; Tue, 19 Feb 2013 07:57:55 -0800 (PST)
Message-ID: <5123A0FF.4000106@mozilla.com>
Date: Tue, 19 Feb 2013 07:57:51 -0800
From: "Timothy B. Terriberry" <tterriberry@mozilla.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120625 SeaMonkey/2.10.1
MIME-Version: 1.0
To: rtcweb@ietf.org
References: <CABcZeBO105HXWoRAbaAR0fGTCLtDmAyjt-DOM=aKy80sg2SG_Q@mail.gmail.com> <51140038.3040001@ericsson.com> <CABcZeBP_-ce-JT-oDkpkDoRKjrZo+m7NLTcifCOsRBM_qKPTmg@mail.gmail.com> <511407AA.1040501@ericsson.com> <CABcZeBO0oSYw-M-1wVujftiYdBtJ67SBfMp4k5gSm45HFhZ+=A@mail.gmail.com> <92B7E61ADAC1BB4F941F943788C0882804788D71@xmb-aln-x08.cisco.com> <51157034.3020800@alvestrand.no> <51164AFC.80700@ericsson.com> <51165FCA.2040707@alvestrand.no> <511796C6.3050601@ericsson.com> <511820F9.5080806@alvestrand.no> <5118EDC1.2000809@ericsson.com> <5119F155.8090303@alvestrand.no> <511C66BE.7090105@mozilla.com> <511CABC6.3050502@ericsson.com> <511CDFDC.20703@mozilla.com> <511CF7A3.40005@ericsson.com> <511D2048.7030500@mozilla.com> <511FBC42.1010800@alvestrand.no>
In-Reply-To: <511FBC42.1010800@alvestrand.no>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Subject: Re: [rtcweb] Proposal for dealing with CNAMEs and MSIDs for synchronization
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.12
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, 19 Feb 2013 15:58:04 -0000

Harald Alvestrand wrote:
>> It goes on to say "The appdata for a WebRTC MediaStreamTrack consists
>> of the 'id' attribute of a MediaStreamTrack." It is not clear what
>> happens if an SSRC has two msids with different "identifier" tokens
>> but the same "appdata" token.
>
> I don't think it can happen. It would require having the same
> MediaStreamTrack in two MediaStreams, and I don't think we can do that.

I don't think it can happen if you're talking to a browser. But this is 
SDP, and the other end-point might not be a browser, but may be trying 
to control a browser's behavior. It can certainly generate SDP like 
this. We should say what that behavior will be.

>> It is not clear what is supposed to happen if one SSRC has two msid
>> attributes, and another SSRC has a single msid which matches one of
>> the msid attributes of the first SSRC, but is missing the other msid
>> attribute. I'd be happy with almost anything (including "the SDP gets
>> rejected as invalid"), but I think we should say something about it.
>
> Let me see ... if you mean this:
>
> a=msid: 25 a x
> a=msid: 25 b y
> a=msid: 50 b w
>
> it means that there are 2 MediaStreams (a and b) both carrying the media
> that's coming on SSRC 25 as a track, and one of these is also carrying
> the media coming on SSRC 50 as a track.

What I actually meant was this:
a=msid: 25 a x
a=msid: 25 b y
a=msid: 50 a x

I.e., both SSRC 25 and SSRC 50 are contributing to the same 
MediaStreamTrack (for any reason... FEC, layering, simulcast, etc.) in 
the first MediaStream, but only the first SSRC is declared to contribute 
to a MediaStreamTrack in the second MediaStream.

> That was certainly my intention. But as noted above, I think "same
> appdata" isn't meaningful.

I think that needs to be spelled out in the draft, including what "not 
meaningful" actually means.

>> Even more important is the case of a single SSRC with multiple msid's:
>> the draft should make clear that this will correspond to multiple
>> MediaStreamTrack JS objects (with a common "source"... a property that
>> is currently ill-defined in the W3C API), even if the "appdata" token
>> is the same.
>
> Even with the same source, the data might actually not be the same (if
> it has been transformed, reencoded or otherwise mangled). If it's the
> same data, it seems reasonable to let it be sent once.

I was looking at this from a receiver's perspective, not a sender's.

> We already have a requirement for all SSRCs that belong to the same
> MediaStream to have the same CNAME, so  this is just a subset of that -
> that's why I wondered.

That's a good point.

> The msid draft tries to explain what the semantics of the identifiers
> is. If there are procedural matters to be documented, I think the JSEP
> draft should do it, since it's the "how do we map onto..." document.

That sounds reasonable to me.

>> Version 1), but it's an open question how we do so. We might very well
>> want the alternatives to be in different MediaStreamTracks with
>
> I think simulcast fits best as a within-one-track concept; representing

Yeah... there's arguments for both approaches. I haven't thought about 
it enough to decide which is better.

> That seems to make sense to me. But "someone else's problem".

It certainly doesn't need to be solved in the msid draft, but it does 
need to get solved somewhere.