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

Eric Rescorla <ekr@rtfm.com> Thu, 07 February 2013 19:23 UTC

Return-Path: <ekr@rtfm.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 9AA5621F8856 for <rtcweb@ietfa.amsl.com>; Thu, 7 Feb 2013 11:23:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.559
X-Spam-Level:
X-Spam-Status: No, score=-102.559 tagged_above=-999 required=5 tests=[AWL=0.417, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1, 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 DRvporI438Vq for <rtcweb@ietfa.amsl.com>; Thu, 7 Feb 2013 11:23:01 -0800 (PST)
Received: from mail-qa0-f53.google.com (mail-qa0-f53.google.com [209.85.216.53]) by ietfa.amsl.com (Postfix) with ESMTP id 4676E21F8809 for <rtcweb@ietf.org>; Thu, 7 Feb 2013 11:22:59 -0800 (PST)
Received: by mail-qa0-f53.google.com with SMTP id z4so1337665qan.5 for <rtcweb@ietf.org>; Thu, 07 Feb 2013 11:22:58 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:x-originating-ip:from:date:message-id :subject:to:content-type:x-gm-message-state; bh=B3+50ZgYT3tjsJLXz7VViOLSyvLE9eOupvRf4+IRYpE=; b=T/7kpczvwPGywfl4ev26KkdiHyQBdkKWTE0fCWYddiz/oZaaLcg7C1FdOM4ea5S0yq PpnYq+g+mrsMzWH9IocIWl1feC5A7DIVRhJ//8Q47BWVMk7w31Z1/sShaXukbojKwGqq sQKXelpk/eOCZMnZHB+kKM5eYxixfRIRXfzcNoo7SDJ0pDR5R2UuyInDTXs2bQis8xXv GKEBViRcwyhpf9Hvk+6l5j4yDVBDkjrbbAtXdaPY4NeRnex/RQeyoXJGh3DPLb61ZFMv 2fQtgJ1Av8XwcGwvOn91Ud6Tkp/rJ6Xu/SMGRhHOTIB39lC1QPCleJom3ceznTrcHZYL Qq0Q==
X-Received: by 10.224.53.7 with SMTP id k7mr1111243qag.96.1360264978731; Thu, 07 Feb 2013 11:22:58 -0800 (PST)
MIME-Version: 1.0
Received: by 10.49.82.130 with HTTP; Thu, 7 Feb 2013 11:22:18 -0800 (PST)
X-Originating-IP: [155.212.214.60]
From: Eric Rescorla <ekr@rtfm.com>
Date: Thu, 07 Feb 2013 11:22:18 -0800
Message-ID: <CABcZeBO105HXWoRAbaAR0fGTCLtDmAyjt-DOM=aKy80sg2SG_Q@mail.gmail.com>
To: rtcweb@ietf.org
Content-Type: multipart/alternative; boundary="20cf3074d9d8db918004d5275e0c"
X-Gm-Message-State: ALoCoQkRhObB1g4sBlQwOvBjIFCuuusEONihYRfw+bexpZIc8CXPfkF6rvkMIIcfMZFxWp2k1kFC
Subject: [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: Thu, 07 Feb 2013 19:23:10 -0000

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.

2. One the receiving side, any two tracks with the same MSID will appear in
the same MediaStreamTrack.

3. On the receiving side, any two RTP streams with the same CNAME will
be synchronized.

4. There are two ways for MSID and CNAME to be inconsistent.
- If MSID indicates synchronization but different CNAMEs are provided,
  synchronization is not attempted.
- If MSID indicates no synchronization but the same CNAME is used,
  then the tracks shall be synchronized, even though they appear in
  different MediaStreams.

-Ekr