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

Harald Alvestrand <harald@alvestrand.no> Fri, 08 February 2013 21:38 UTC

Return-Path: <harald@alvestrand.no>
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 1ABAC21F8782 for <rtcweb@ietfa.amsl.com>; Fri, 8 Feb 2013 13:38:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -110.339
X-Spam-Level:
X-Spam-Status: No, score=-110.339 tagged_above=-999 required=5 tests=[AWL=0.260, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, USER_IN_WHITELIST=-100]
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 JjfB9hhq+4sj for <rtcweb@ietfa.amsl.com>; Fri, 8 Feb 2013 13:38:13 -0800 (PST)
Received: from eikenes.alvestrand.no (eikenes.alvestrand.no [158.38.152.233]) by ietfa.amsl.com (Postfix) with ESMTP id 4A35D21F87B6 for <rtcweb@ietf.org>; Fri, 8 Feb 2013 13:38:13 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by eikenes.alvestrand.no (Postfix) with ESMTP id D0B5039E197 for <rtcweb@ietf.org>; Fri, 8 Feb 2013 22:37:59 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at eikenes.alvestrand.no
Received: from eikenes.alvestrand.no ([127.0.0.1]) by localhost (eikenes.alvestrand.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tXveap712N2x for <rtcweb@ietf.org>; Fri, 8 Feb 2013 22:37:58 +0100 (CET)
Received: from [IPv6:2620:0:1004:b:f175:1fb4:5361:b9a8] (unknown [IPv6:2620:0:1004:b:f175:1fb4:5361:b9a8]) by eikenes.alvestrand.no (Postfix) with ESMTPSA id C476739E125 for <rtcweb@ietf.org>; Fri, 8 Feb 2013 22:37:57 +0100 (CET)
Message-ID: <51157034.3020800@alvestrand.no>
Date: Fri, 08 Feb 2013 22:37:56 +0100
From: Harald Alvestrand <harald@alvestrand.no>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2
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>
In-Reply-To: <92B7E61ADAC1BB4F941F943788C0882804788D71@xmb-aln-x08.cisco.com>
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: Fri, 08 Feb 2013 21:38:14 -0000

On 02/07/2013 09:08 PM, Charles Eckel (eckelcu) wrote:
>> -----Original Message-----
>> From: rtcweb-bounces@ietf.org [mailto:rtcweb-bounces@ietf.org] On
>> Behalf Of Eric Rescorla
>> Sent: Thursday, February 07, 2013 3:03 PM
>> To: Stefan Hakansson LK
>> Cc: rtcweb@ietf.org
>> Subject: Re: [rtcweb] Proposal for dealing with CNAMEs and MSIDs for
>> synchronization
>>
>>
>>
>> On Thu, Feb 7, 2013 at 11:59 AM, Stefan Hakansson LK
>> <stefan.lk.hakansson@ericsson.com> wrote:
>>
>>
>> 	On 02/07/2013 08:43 PM, Eric Rescorla wrote:
>>
>>
>>
>>
>>
>>
>> 		    My question is basically: what if the sender creates two
>> 		    MediaStreams for which all tracks have local sources
>> (cam's,
>> 		    mike's), sends them to a peer, will the RTP streams for
>> both
>> 		    MediaStreams have the same or different CNAME?
>>
>> 		    I argued for that they should have the same.
>>
>>
>> 		Yes, I think this is a separate (and fraught) question. :)
>>
>>
>>
>> 	Separate question, but I think the answer should be documented
>> (regardless on if it is "same", "different" or "implementers choice").
>>
>>
>>
>> Agreed.
> I think SHOULD is the correct thing to document. I can imagine there will be cases in which the sender will be a somewhat distributed app that does not really know that the media source should be synchronized, so it will assign a different CNAME.
> The rest of the proposal sounded good as well.
>
>
SHOULD often makes me unhappy, because it can lead easily to something 
being true so much of the time, people forget to check for whether it is 
true or not.

I think "all the streams have local sources" is a property that we 
shouldn't require that one end of a PeerConnection reveals to the other end.

(Parenthesis: In the discussion, the question was raised of what it 
meant to send out two tracks in one MediaStream that were not 
originallly synchronized - one local and one remote, for instance. The 
best answer I heard was that they would have to be synchronized 
(re-clocked if necessary) in such a way that when played out at the 
recipient, they would give the same experience as when played out 
locally at the sender - same relative timing for the playout.)