Re: [MMUSIC] Telephone-event and multiple clock rates

Randell Jesup <randell-ietf@jesup.org> Mon, 27 January 2014 08:48 UTC

Return-Path: <randell-ietf@jesup.org>
X-Original-To: mmusic@ietfa.amsl.com
Delivered-To: mmusic@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 72B271A016A for <mmusic@ietfa.amsl.com>; Mon, 27 Jan 2014 00:48:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.599
X-Spam-Level:
X-Spam-Status: No, score=0.599 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, J_CHICKENPOX_15=0.6, RCVD_IN_DNSWL_NONE=-0.0001] 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 OjelSAfBei-R for <mmusic@ietfa.amsl.com>; Mon, 27 Jan 2014 00:48:26 -0800 (PST)
Received: from r2-chicago.webserversystems.com (r2-chicago.webserversystems.com [173.236.101.58]) by ietfa.amsl.com (Postfix) with ESMTP id 05E5F1A0111 for <mmusic@ietf.org>; Mon, 27 Jan 2014 00:48:26 -0800 (PST)
Received: from pool-173-49-144-199.phlapa.fios.verizon.net ([173.49.144.199]:4883 helo=[192.168.1.12]) by r2-chicago.webserversystems.com with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80) (envelope-from <randell-ietf@jesup.org>) id 1W7hrj-000Bq7-5N for mmusic@ietf.org; Mon, 27 Jan 2014 02:48:23 -0600
Message-ID: <52E61D40.1020301@jesup.org>
Date: Mon, 27 Jan 2014 03:48:00 -0500
From: Randell Jesup <randell-ietf@jesup.org>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
MIME-Version: 1.0
To: mmusic@ietf.org
References: <52E178F6.70009@nostrum.com> <F81CEE99482EFE438DAE2A652361EE1217A2E16D@MCHP04MSX.global-ad.net> <52E24090.1030608@ericsson.com> <52E28DEB.1040100@nostrum.com>
In-Reply-To: <52E28DEB.1040100@nostrum.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Authenticated-Sender: randell@jesup.org
X-OutGoing-Spam-Status: No, score=-6.0
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - r2-chicago.webserversystems.com
X-AntiAbuse: Original Domain - ietf.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - jesup.org
X-Get-Message-Sender-Via: r2-chicago.webserversystems.com: authenticated_id: randell@jesup.org
Subject: Re: [MMUSIC] Telephone-event and multiple clock rates
X-BeenThere: mmusic@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Multiparty Multimedia Session Control Working Group <mmusic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mmusic>, <mailto:mmusic-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/mmusic/>
List-Post: <mailto:mmusic@ietf.org>
List-Help: <mailto:mmusic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mmusic>, <mailto:mmusic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 27 Jan 2014 08:48:27 -0000

On 1/24/2014 10:59 AM, Adam Roach wrote:
> On 1/24/14 04:29, Magnus Westerlund wrote:
>> My understanding for the reasoning behind this definition in the RFC is
>> due to that the events is supposed to be connected to the same time-line
>> as the audio. Thus it ended up using the same SSRC. To avoid timestamp
>> rate switching which we know has issues
>> (https://datatracker.ietf.org/doc/draft-ietf-avtext-multiple-clock-rates/) 
>>
>> it was mandated to provide one PT for each rate negotiated for the audio
>> payload types.
>
> To make sure I understand what you're saying correctly: you are 
> asserting that having four different clock rates for voice codecs 
> requires us to use four different PTs for telephone-event if we're 
> going to have them on the same SSRC. Is that correct?

If those four PT's (not codecs) are accepted (and thus can be switched 
between on-the-fly), yes.  Multiple clock rates plays hell with RTP 
timestamps.

You could use a separate SSRC (or m=audio line) for each clock rate 
instead.  This would likely mean glitching at transitions however, so 
not a great solution, but works.  You might be able to avoid glitches by 
making sure you send RTCP for the alternate SSRCs so synchronization 
info is available, though this may require the receiver to know somehow 
that the SSRC's need to be "lip-synced" (in this case audio to audio 
though).  Overall - here be (baby) dragons in the glitch-avoidance 
variation...

In theory you could allow one telephone-event PT and do a renegotiate 
after an effective codec/PT change.  You might need to be careful about 
asynchronicity due to the renegotiation and not re-use the same PT for a 
different rate of telephone-event (ping-pong between two).  There would 
exist a window when there was a switch where it would be problematic to 
send telephone-event (and you'd need to require that both sides switch 
when one does). Overall - here be (big) dragons.

-- 
Randell Jesup -- rjesup a t mozilla d o t com