Re: [rtcweb] JSEP: Issues with a=ssrc and RTP payload type switching

Magnus Westerlund <magnus.westerlund@ericsson.com> Tue, 09 June 2015 08:20 UTC

Return-Path: <magnus.westerlund@ericsson.com>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7D8C21B2A66 for <rtcweb@ietfa.amsl.com>; Tue, 9 Jun 2015 01:20:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.601
X-Spam-Level:
X-Spam-Status: No, score=-3.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, J_CHICKENPOX_14=0.6, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] autolearn=ham
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 AejjNCRKE4dE for <rtcweb@ietfa.amsl.com>; Tue, 9 Jun 2015 01:20:08 -0700 (PDT)
Received: from sessmg22.ericsson.net (sessmg22.ericsson.net [193.180.251.58]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 09D6C1B2A67 for <rtcweb@ietf.org>; Tue, 9 Jun 2015 01:20:07 -0700 (PDT)
X-AuditID: c1b4fb3a-f79ec6d000006dc0-0c-5576a1b69645
Received: from ESESSHC004.ericsson.se (Unknown_Domain [153.88.253.125]) by sessmg22.ericsson.net (Symantec Mail Security) with SMTP id ED.C8.28096.6B1A6755; Tue, 9 Jun 2015 10:20:06 +0200 (CEST)
Received: from [127.0.0.1] (153.88.183.153) by smtp.internal.ericsson.com (153.88.183.32) with Microsoft SMTP Server id 14.3.210.2; Tue, 9 Jun 2015 10:20:05 +0200
Message-ID: <5576A1B5.1040508@ericsson.com>
Date: Tue, 09 Jun 2015 10:20:05 +0200
From: Magnus Westerlund <magnus.westerlund@ericsson.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: Harald Alvestrand <harald@alvestrand.no>, Simon Perreault <sperreault@jive.com>, Roman Shpount <roman@telurix.com>
References: <556EF4F9.1060700@ericsson.com> <556F5E5C.5080600@alvestrand.no> <CAD5OKxs4_hVc-7haF7vik7+PNU33Ox9Jin35tzrPhiaekENLvQ@mail.gmail.com> <557556ED.8050206@ericsson.com> <55755E12.8020201@alvestrand.no> <55756237.6060206@ericsson.com> <5575A364.7060900@jive.com> <5575A9F9.5030504@ericsson.com> <5575B013.3030701@alvestrand.no> <5575B178.1040309@jive.com> <5575B212.3070004@alvestrand.no>
In-Reply-To: <5575B212.3070004@alvestrand.no>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrJLMWRmVeSWpSXmKPExsUyM+Jvre62hWWhBp2XeS2O9XWxWcy4MJXZ Yu2/dnaL61dCHVg8rky4wuqxZMlPJo9/c54ye9yaUhDAEsVlk5Kak1mWWqRvl8CVMe36d/aC GfwVx7o+MDYwTuPpYuTkkBAwkXi3/C4ThC0mceHeerYuRi4OIYGjjBKdV28wQzjLGCXOXP0E VsUroC3x6cEqMJtFQEVi9v3zjCA2m4CFxM0fjWwgtqhAlMTUx+tYIOoFJU7OfAJmiwhUSMze /oEdxGYWUJe4s/gcmC0s4CvxetFmVohlPcwS108eB1vAKaArsfz+cWaIBguJmfMhljELyEs0 b50NFhcCOqihqYN1AqPgLCT7ZiFpmYWkZQEj8ypG0eLU4uLcdCMjvdSizOTi4vw8vbzUkk2M wLA+uOW31Q7Gg88dDzEKcDAq8fAu8CgLFWJNLCuuzD3EKM3BoiTOO2NzXqiQQHpiSWp2ampB alF8UWlOavEhRiYOTqkGxhC/Oe5pPMpz7wTN+X1Ea7W1wiLead7TXtY/1tu2RfifXCs3e7XP hfVhzbZzO54sUlNr4pol8lSuY62b5IuI+rx7zz6+fWjJZGWXFFc5871vEvOO3REBnVvPM6Vq vluv9CNYQv7QDCMH8zkq8tP7fs88K2cqmr6WK5ZtS8djLuH3fPK9nMGvlFiKMxINtZiLihMB N0AxM0wCAAA=
Archived-At: <http://mailarchive.ietf.org/arch/msg/rtcweb/iJNYklPJzyNpCuZPAhvFDbKDUk8>
Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>
Subject: Re: [rtcweb] JSEP: Issues with a=ssrc and RTP payload type switching
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.15
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, 09 Jun 2015 08:20:10 -0000

Harald Alvestrand skrev den 2015-06-08 17:17:
> Den 08. juni 2015 17:15, skrev Simon Perreault:
>> Le 2015-06-08 09:09, Harald Alvestrand a écrit :
>>> This has another implication:
>>>
>>> When doing PT switching for comfort noise, you MUST have a CN with the
>>> same clock rate as your normal audio codec.
>>>
>>> CN is exactly the type of PT-switching that, if it occurs at all, occurs
>>> very frequently.
>>
>> I'm not following. We're discussing generating a new SSRC on clock
>> rate-switching, not on PT-switching. For the CN example, you would
>> typically include in your SDP one CN payload type per possible clock
>> type so that you can switch payload types without switching the clock rate.
>
> Yep. It's only because I've seen SDP trying to match CN/8000 with
> OPUS/48000 that I'm mentioning it - it's obvious, but only after it's
> bitten you.
>

Yes, this is likely one of these things that the ones that considered 
the issues see as obvious, but is in fact not until you actually tried 
it and therefore could have benefited from a note about the need for 
having one PT configuration per timestamp rate used by the codecs that 
may use the CN.

As the RTP usage is in IESG review, I am hesitant to add such discussion 
into the RTP usage document. As it is really a configuration issue, I 
think it can be discussed in JSEP, but the audio draft might be an even 
better fit adding to the CN text.

Cheers

Magnus Westerlund

----------------------------------------------------------------------
Services, Media and Network features, Ericsson Research EAB/TXM
----------------------------------------------------------------------
Ericsson AB                 | Phone  +46 10 7148287
Färögatan 6                 | Mobile +46 73 0949079
SE-164 80 Stockholm, Sweden | mailto: magnus.westerlund@ericsson.com
----------------------------------------------------------------------