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

Harald Alvestrand <harald@alvestrand.no> Mon, 08 June 2015 15:17 UTC

Return-Path: <harald@alvestrand.no>
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 288901B2E90 for <rtcweb@ietfa.amsl.com>; Mon, 8 Jun 2015 08:17:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.61
X-Spam-Level:
X-Spam-Status: No, score=-3.61 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, J_CHICKENPOX_14=0.6, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01] 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 WglqoqAGDaC5 for <rtcweb@ietfa.amsl.com>; Mon, 8 Jun 2015 08:17:56 -0700 (PDT)
Received: from mork.alvestrand.no (mork.alvestrand.no [158.38.152.117]) by ietfa.amsl.com (Postfix) with ESMTP id ED7391B2E9A for <rtcweb@ietf.org>; Mon, 8 Jun 2015 08:17:42 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mork.alvestrand.no (Postfix) with ESMTP id 288817C0A46; Mon, 8 Jun 2015 17:17:42 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at alvestrand.no
Received: from mork.alvestrand.no ([127.0.0.1]) by localhost (mork.alvestrand.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YRRkUmf9bo2U; Mon, 8 Jun 2015 17:17:40 +0200 (CEST)
Received: from [IPv6:2001:470:de0a:27:fd19:c332:d33e:eb48] (unknown [IPv6:2001:470:de0a:27:fd19:c332:d33e:eb48]) by mork.alvestrand.no (Postfix) with ESMTPSA id 81F2F7C0A45; Mon, 8 Jun 2015 17:17:40 +0200 (CEST)
Message-ID: <5575B212.3070004@alvestrand.no>
Date: Mon, 08 Jun 2015 17:17:38 +0200
From: Harald Alvestrand <harald@alvestrand.no>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: Simon Perreault <sperreault@jive.com>, Magnus Westerlund <magnus.westerlund@ericsson.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>
In-Reply-To: <5575B178.1040309@jive.com>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/rtcweb/I9nX1Z31_KrcMjYKBnIvLe63gqk>
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: Mon, 08 Jun 2015 15:17:57 -0000

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.