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

Christer Holmberg <christer.holmberg@ericsson.com> Fri, 12 June 2015 08:33 UTC

Return-Path: <christer.holmberg@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 F27201A88FE for <rtcweb@ietfa.amsl.com>; Fri, 12 Jun 2015 01:33:15 -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 HUa-dfJtMwr1 for <rtcweb@ietfa.amsl.com>; Fri, 12 Jun 2015 01:33:14 -0700 (PDT)
Received: from sessmg23.ericsson.net (sessmg23.ericsson.net [193.180.251.45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9A9541A88DC for <rtcweb@ietf.org>; Fri, 12 Jun 2015 01:33:13 -0700 (PDT)
X-AuditID: c1b4fb2d-f794d6d000004501-78-557a9947af6f
Received: from ESESSHC021.ericsson.se (Unknown_Domain [153.88.253.125]) by sessmg23.ericsson.net (Symantec Mail Security) with SMTP id CF.63.17665.7499A755; Fri, 12 Jun 2015 10:33:11 +0200 (CEST)
Received: from ESESSMB209.ericsson.se ([169.254.9.72]) by ESESSHC021.ericsson.se ([153.88.183.81]) with mapi id 14.03.0210.002; Fri, 12 Jun 2015 10:33:10 +0200
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Magnus Westerlund <magnus.westerlund@ericsson.com>, Harald Alvestrand <harald@alvestrand.no>, Simon Perreault <sperreault@jive.com>, Roman Shpount <roman@telurix.com>
Thread-Topic: [rtcweb] JSEP: Issues with a=ssrc and RTP payload type switching
Thread-Index: AQHQnfoTGRvazoDt2kK99KUvVw7qVJ2bFC4AgAGh8QCABXxAgIAACIUAgAAE8YCAAE2yAIAAB9iAgAAHRoCAAAGqAIAAALgAgAEdq4CABNqN0A==
Date: Fri, 12 Jun 2015 08:33:09 +0000
Message-ID: <7594FB04B1934943A5C02806D1A2204B1D8BEE5F@ESESSMB209.ericsson.se>
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> <5576A1B5.1040508@ericsson.com>
In-Reply-To: <5576A1B5.1040508@ericsson.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [153.88.183.147]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrDLMWRmVeSWpSXmKPExsUyM+Jvra77zKpQgxtrlSyO9XWxWcy4MJXZ Yu2/dnaL61dCHVg8rky4wuqxZMlPJo9/c54ye9yaUhDAEsVlk5Kak1mWWqRvl8CV8Wv9UuaC CXIVJ/rOsDYwrpHtYuTkkBAwkfjX2sUGYYtJXLi3Hsjm4hASOMoo0dG4CcpZzCjx79xqxi5G Dg42AQuJ7n/aIHERgXWMEo++bmYG6WYWUJe4s/gcO4gtLOAr0fbmIBNIvYhAgETLXh6QsIhA ncTKk1tZQWwWAVWJ7vYXYDYvUPmzlT0sELt2MEvcfHAErJdTQEdi+Zs4kBpGoOO+n1rDBLFK XOLWk/lMEEcLSCzZc54ZwhaVePn4HytIq4SAksS0rWkgJrOApsT6XfoQnYoSU7ofskNsFZQ4 OfMJywRGsVlIhs5C6JiFpGMWko4FjCyrGEWLU4uLc9ONjPVSizKTi4vz8/TyUks2MQKj6+CW 37o7GFe/djzEKMDBqMTDq2BbFSrEmlhWXJl7iFGag0VJnHfG5rxQIYH0xJLU7NTUgtSi+KLS nNTiQ4xMHJxSDYzrXef5HopY8MN3WybvAwHhwvSVtz2TLt24yRLg8tn8pMT21gUiNrPes1+3 7XnU+zvpdrXMRIet/3wdJr43VlLVzT0qWZSnULNkX+yFsCmPeGTZLuYc54jZasKbNk9RUphj LtvEfRzLHi74ZWPtsmQeE8/Ups9lohVvpaY/PvnxyjJGiVf3ol8rsRRnJBpqMRcVJwIA45+Q q48CAAA=
Archived-At: <http://mailarchive.ietf.org/arch/msg/rtcweb/fc9AW5J-3OAITVBKeXDwUBaZVqA>
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: Fri, 12 Jun 2015 08:33:16 -0000

Hi,

Keep in mind that whatever changes we do in JSEP must be "compatible" with BUNDLE :)

However, BUNDLE currently doesn't mandate the usage of the SDP 'ssrc' attribute, but it does have the following rule on SSRC usage:

	o  A given SSRC MUST NOT transmit RTP packets using payload types
      	that originate from different bundled "m=" lines.

However, that doesn't seem to be related to the ongoing discussion.

Regards,

Christer

-----Original Message-----
From: rtcweb [mailto:rtcweb-bounces@ietf.org] On Behalf Of Magnus Westerlund
Sent: 9. kesäkuuta 2015 11:20
To: Harald Alvestrand; Simon Perreault; Roman Shpount
Cc: rtcweb@ietf.org
Subject: Re: [rtcweb] JSEP: Issues with a=ssrc and RTP payload type switching

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
----------------------------------------------------------------------

_______________________________________________
rtcweb mailing list
rtcweb@ietf.org
https://www.ietf.org/mailman/listinfo/rtcweb