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

Jonathan Lennox <jonathan@vidyo.com> Fri, 08 February 2013 15:59 UTC

Return-Path: <jonathan@vidyo.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 9311221F8AB7 for <rtcweb@ietfa.amsl.com>; Fri, 8 Feb 2013 07:59:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.316
X-Spam-Level:
X-Spam-Status: No, score=-2.316 tagged_above=-999 required=5 tests=[AWL=0.284, BAYES_00=-2.599]
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 U57OC-rCjQMS for <rtcweb@ietfa.amsl.com>; Fri, 8 Feb 2013 07:59:59 -0800 (PST)
Received: from mxout.myoutlookonline.com (mxout.myoutlookonline.com [64.95.72.241]) by ietfa.amsl.com (Postfix) with ESMTP id EC46321F8A6E for <rtcweb@ietf.org>; Fri, 8 Feb 2013 07:59:58 -0800 (PST)
Received: from mxout.myoutlookonline.com (localhost [127.0.0.1]) by mxout.myoutlookonline.com (Postfix) with ESMTP id 00A9C416A2E; Fri, 8 Feb 2013 05:03:02 -0500 (EST)
X-Virus-Scanned: by SpamTitan at mail.lan
Received: from HUB016.mail.lan (unknown [10.110.2.1]) by mxout.myoutlookonline.com (Postfix) with ESMTP id A8C974169B0; Fri, 8 Feb 2013 05:02:36 -0500 (EST)
Received: from BE235.mail.lan ([10.110.32.235]) by HUB016.mail.lan ([10.110.17.16]) with mapi; Fri, 8 Feb 2013 10:59:31 -0500
From: Jonathan Lennox <jonathan@vidyo.com>
To: Eric Rescorla <ekr@rtfm.com>
Date: Fri, 08 Feb 2013 10:59:30 -0500
Thread-Topic: [rtcweb] Proposal for dealing with CNAMEs and MSIDs for synchronization
Thread-Index: Ac4GFUcjPcSygTsHS/CAvR70U4OLjA==
Message-ID: <A3B3DEDC-FBAC-4700-9915-99B54A91D4EC@vidyo.com>
References: <CABcZeBO105HXWoRAbaAR0fGTCLtDmAyjt-DOM=aKy80sg2SG_Q@mail.gmail.com>
In-Reply-To: <CABcZeBO105HXWoRAbaAR0fGTCLtDmAyjt-DOM=aKy80sg2SG_Q@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>
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: Fri, 08 Feb 2013 15:59:59 -0000

On Feb 7, 2013, at 2:22 PM, Eric Rescorla wrote:

> Here's what I was trying to say at the microphone.
> 
> 1. When two MSTracks are in the same MediaStream on the sending side:
>  They must generate the same MSID in SDP and the same CNAME in RTP.

Note that, as a consequence of this -- if the same MediaStreamTrack is put into two different MediaStreams of the same PeerConnection, the sending side will need to synchronize all the tracks of those two MediaStreams together, and give them all the same CNAME.  (Because synchronization is transitive.)

If Stefan's proposal is accepted (i.e., all the tracks from a single endpoint are synchronized, period), this may come for free, at least for locally-generated tracks.  But if it isn't, this is a subtlety that may not be fully appreciated.

--
Jonathan Lennox
jonathan@vidyo.com