Re: [rtcweb] JSEP: Issues with a=ssrc and RTP payload type switching
Magnus Westerlund <magnus.westerlund@ericsson.com> Mon, 08 June 2015 14:43 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 4667B1A8AE9 for <rtcweb@ietfa.amsl.com>; Mon, 8 Jun 2015 07:43:11 -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 GyLvlQlo758Q for <rtcweb@ietfa.amsl.com>; Mon, 8 Jun 2015 07:43:09 -0700 (PDT)
Received: from sesbmg22.ericsson.net (sesbmg22.ericsson.net [193.180.251.48]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5AF7F1A8AE3 for <rtcweb@ietf.org>; Mon, 8 Jun 2015 07:43:08 -0700 (PDT)
X-AuditID: c1b4fb30-f799f6d000000faf-7a-5575a9fb696e
Received: from ESESSHC010.ericsson.se (Unknown_Domain [153.88.253.125]) by sesbmg22.ericsson.net (Symantec Mail Security) with SMTP id FE.EC.04015.BF9A5755; Mon, 8 Jun 2015 16:43:07 +0200 (CEST)
Received: from [127.0.0.1] (153.88.183.153) by smtp.internal.ericsson.com (153.88.183.50) with Microsoft SMTP Server id 14.3.210.2; Mon, 8 Jun 2015 16:43:06 +0200
Message-ID: <5575A9F9.5030504@ericsson.com>
Date: Mon, 08 Jun 2015 16:43: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: Simon Perreault <sperreault@jive.com>, Harald Alvestrand <harald@alvestrand.no>, 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>
In-Reply-To: <5575A364.7060900@jive.com>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 8bit
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrGLMWRmVeSWpSXmKPExsUyM+Jvre7vlaWhBg93SFkc6+tis5hxYSqz xdp/7ewW16+EOrB4XJlwhdVjyZKfTB7/5jxl9rg1pSCAJYrLJiU1J7MstUjfLoErY/XHH6wF P8Qrfqzbx9TA+FGoi5GTQ0LAROLTzK2MELaYxIV769m6GLk4hASOMkrM3HiDHcJZxijRMO89 E0gVr4C2xIrLO1lBbBYBFYnlO76C2WwCFhI3fzSygdiiAlESUx+vY4GoF5Q4OfMJmC0iUCFx c00bM4jNLKAucWfxOXYQW1jAV+L1os2sEMv6mCROLTgHtIyDg1NAQ6J7kwWIySxgL/FgaxlE q7xE89bZYGOEgM5paOpgncAoOAvJtlkIHbOQdCxgZF7FKFqcWpyUm25kpJdalJlcXJyfp5eX WrKJERjQB7f8NtjB+PK54yFGAQ5GJR7eB/tKQoVYE8uKK3MPMUpzsCiJ887YnBcqJJCeWJKa nZpakFoUX1Sak1p8iJGJg1OqgbH8eNdP8e3lTvLbI3rqWl2FrzK+33O3j5V/8rTmaYsMP81V OMpSbtqjzPw5aN688lA2w+3+zZtrTix7qb+zq3Pl/NnnNr3Wua9xtdWWy/DTTEbOrzzFHOXv nc7yStfWWThfLzL9e+NxkGde4CqHWemlcvfDVv7JWzth9ureshzJlded44uKTyqxFGckGmox FxUnAgDEE2p0SQIAAA==
Archived-At: <http://mailarchive.ietf.org/arch/msg/rtcweb/27xIcP-oOls5aXn7sx1MMk3lKBU>
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 14:43:11 -0000
Simon Perreault skrev den 2015-06-08 16:15: > Le 2015-06-08 03:36, Magnus Westerlund a écrit : >> Harald Alvestrand skrev den 2015-06-08 11:19: >>> Den 08. juni 2015 10:48, skrev Magnus Westerlund: >> >>>> However, this can't work as RFC 7160 says in Section 4.1: >>>> >>>> An RTP Sender with RTCP turned on MUST use a different SSRC for each >>>> different clock rate. An RTCP BYE MUST be sent and a new SSRC MUST >>>> be used if the clock rate switches back to a value already seen in >>>> the RTP stream. >>>> >>>> Note the second sentence. One would still have to do a new round of >>>> signalling to prime a new SSRC for the previous rate after having >>>> switched to be able to switch back to that Payload Type. >>> >>> Hm. I missed that when reviewing the clock-rate doc. >>> So that means one uses up an SSRC for every clock rate switch. That >>> seems silly; is it possible that this should be considered an erratum >>> for RFC 7160? >> >> No, it is highly intentional as I remember the discussion. > > Can you please explain, for those of us with short memories? :) I went and checked this. This formulation has been present since the first versions, and no one has questioned this RFC 2119 worded statement. Therefore I consider there to be consensus behind it and being intentional. The motivation I see for this statement is the following. First of all I think people have been against considering having stand bye SSRCs that are really likely to never be used. I think DTMF is one of these exceptions. Having stand by SSRC also have an overhead cost, primarily in the result of the number of SSRCs present in the session and their consumption of their share of the RTCP bandwidth resources. We also have the issue of correctly associating the SSRC to a media source, now that there are more than one. Based on that, (with the assumption that you do PT switching rarely) the lower cost is to drop the SSRC after its usage. From that follows that one stop using it, and therefore sends BYE, then you really should not revive a dead SSRC. Thus, need to create a new one. Simply codifying this expectation in the RFC. > >>> Are there legacy gateways that will NOT fall over on a clock rate + SSRC >>> switch? >> >> Good Question! > > Depends what you mean by "legacy". My gateway will not fall over. > I think this is an import aspect. The gateway is not legacy, as it is an WebRTC gateway. It is the endpoint on the other side of the gateway that is "legacy". 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] JSEP: Issues with a=ssrc and RTP payload… Magnus Westerlund
- Re: [rtcweb] JSEP: Issues with a=ssrc and RTP pay… Bernard Aboba
- Re: [rtcweb] JSEP: Issues with a=ssrc and RTP pay… Harald Alvestrand
- Re: [rtcweb] JSEP: Issues with a=ssrc and RTP pay… Roman Shpount
- Re: [rtcweb] JSEP: Issues with a=ssrc and RTP pay… Magnus Westerlund
- Re: [rtcweb] JSEP: Issues with a=ssrc and RTP pay… Harald Alvestrand
- Re: [rtcweb] JSEP: Issues with a=ssrc and RTP pay… Magnus Westerlund
- Re: [rtcweb] JSEP: Issues with a=ssrc and RTP pay… Simon Perreault
- Re: [rtcweb] JSEP: Issues with a=ssrc and RTP pay… Magnus Westerlund
- Re: [rtcweb] JSEP: Issues with a=ssrc and RTP pay… Simon Perreault
- Re: [rtcweb] JSEP: Issues with a=ssrc and RTP pay… Harald Alvestrand
- Re: [rtcweb] JSEP: Issues with a=ssrc and RTP pay… Simon Perreault
- Re: [rtcweb] JSEP: Issues with a=ssrc and RTP pay… Harald Alvestrand
- Re: [rtcweb] JSEP: Issues with a=ssrc and RTP pay… Magnus Westerlund
- Re: [rtcweb] JSEP: Issues with a=ssrc and RTP pay… Christer Holmberg