Re: [rtcweb] JSEP-19: Impact of BYE on ssrc table (Appendix B)
Magnus Westerlund <magnus.westerlund@ericsson.com> Tue, 21 March 2017 15:41 UTC
Return-Path: <magnus.westerlund@ericsson.com>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 59657129BA0 for <rtcweb@ietfa.amsl.com>; Tue, 21 Mar 2017 08:41:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.22
X-Spam-Level:
X-Spam-Status: No, score=-4.22 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=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 6Id7f52_KzYK for <rtcweb@ietfa.amsl.com>; Tue, 21 Mar 2017 08:41:01 -0700 (PDT)
Received: from sessmg23.ericsson.net (sessmg23.ericsson.net [193.180.251.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 27821129B6D for <rtcweb@ietf.org>; Tue, 21 Mar 2017 08:38:20 -0700 (PDT)
X-AuditID: c1b4fb2d-275fe70000005be8-db-58d148eb8f61
Received: from ESESSHC018.ericsson.se (Unknown_Domain [153.88.183.72]) by (Symantec Mail Security) with SMTP id B5.9F.23528.BE841D85; Tue, 21 Mar 2017 16:38:19 +0100 (CET)
Received: from [127.0.0.1] (153.88.183.153) by smtp.internal.ericsson.com (153.88.183.74) with Microsoft SMTP Server id 14.3.319.2; Tue, 21 Mar 2017 16:38:18 +0100
To: Bernard Aboba <bernard.aboba@gmail.com>
References: <CAOW+2dvyV=mpY1Qh9ZQVirgAC3YUHT6dLxs+RPicKPGg9fKenw@mail.gmail.com> <30B46FE1-4E99-4622-8E2C-F4AA455D08D8@iii.ca> <a46cbd91-006a-2fdd-ab51-8edeb28839d0@ericsson.com> <CAOW+2duqz7mxFb7w0E_k9r3pdeTu7DJSGZpSpxCSMSPrT5jHKw@mail.gmail.com>
CC: Cullen Jennings <fluffy@iii.ca>, RTCWeb IETF <rtcweb@ietf.org>
From: Magnus Westerlund <magnus.westerlund@ericsson.com>
Message-ID: <999ee5a6-a7ef-d7a9-67a7-2d18975d8a83@ericsson.com>
Date: Tue, 21 Mar 2017 16:38:17 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <CAOW+2duqz7mxFb7w0E_k9r3pdeTu7DJSGZpSpxCSMSPrT5jHKw@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrLLMWRmVeSWpSXmKPExsUyM2K7h+5rj4sRBrPuKFls2Pef2eLD+h+M Fmv/tbM7MHvsnHWX3WPJkp9MHpfPf2QMYI7isklJzcksSy3St0vgyni/XK7gt1DFye1fGBsY G/m7GDk5JARMJKaemMsIYgsJrGOUuDSZt4uRC8hezijx4u4x5i5GDg5hAXeJTf0KIDUiAtoS fd/2MUHU/GWUOPztNRtIglnASeLqzR3sIDabgIXEzR+NYHFeAXuJ63+2gMVZBFQlnq7qZwKx RQViJFqWfGCEqBGUODnzCQuIzSkQKLHt1D6omRYSM+efZ4Sw5SWat85mhjhUW6KhqYN1AqPA LCTts5C0zELSsoCReRWjaHFqcXFuupGxXmpRZnJxcX6eXl5qySZGYKAe3PJbdwfj6teOhxgF OBiVeHg/2F+MEGJNLCuuzD3EKMHBrCTCO00fKMSbklhZlVqUH19UmpNafIhRmoNFSZzXYd+F CCGB9MSS1OzU1ILUIpgsEwenVAPjokR+7mN2v4v6ja68DWHbnn1L1Ctp+5I10hmSrL5S+te0 uZbUShqfn3b2/uMN9y9dPNX+iHN3Z+/LBx9+cT3zWXFpLXt4Y/nJ2Scy+z4zOfYxSbEv3/du wbTgeUmi37x19ZbMzLlltXTC/Rdx0/XlLimzJYYz/rzLH9dQ+WOlgUXMurcHJVKKlFiKMxIN tZiLihMBURnla1ACAAA=
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtcweb/QL3ZOlPRc0RyfGO9nCgqP_GIR0o>
Subject: Re: [rtcweb] JSEP-19: Impact of BYE on ssrc table (Appendix B)
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.22
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: <https://mailarchive.ietf.org/arch/browse/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, 21 Mar 2017 15:41:03 -0000
Den 2017-03-21 kl. 16:07, skrev Bernard Aboba: > Consider the impact of calling transceiver.stop(). This stops the > sender, and then sends a BYE. However, due to reordering, the RTCP BYE > can arrive while there are still RTP packets in flight, and if the > signaled SSRCs are removed they will be thrown away unnecessarily. When one receives an RTCP BYE, one can't remove the SSRC immediately, there needs to be a bit a shorter timeout before its state is removed to avoid this issue. This is quite clear even in RFC 3550, Section 6.2.1 says: Entries MAY be deleted from the table when an RTCP BYE packet with the corresponding SSRC identifier is received, except that some straggler data packets might arrive after the BYE and cause the entry to be recreated. Instead, the entry SHOULD be marked as having received a BYE and then deleted after an appropriate delay. > > Another cause of a BYE could be an SSRC conflict. However, in this case > we should expect MID SDES packets as well as the MID RTP header > extension to be emitted with the new SSRC, so that a new "latched" entry > will be installed. Therefore removing "latched" entries on receipt of a > BYE does not have the same consequences. I think this is clearly a valid reason for receiving a BYE, packet, and in fact you can receive multiple BYEs in this case, one from each endpoint attempting to use the same SSRC. But, that should be visable due to the different CNAME entries in the compound RTCP packet. This is a valid case where one might not be removing the entry. In some cases a particular endpoint may not be aware of the collision and continue to transmit using the SSRC that collided while the other endpoint is changing the SSRC. However, I don't see an issue with removing the entry after the above considerations has been applied, as neither are related to if the state is signalled or not. Cheers Magnus Westerlund ---------------------------------------------------------------------- Media Technologies, Ericsson Research ---------------------------------------------------------------------- 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-19: Impact of BYE on ssrc table (Ap… Bernard Aboba
- Re: [rtcweb] JSEP-19: Impact of BYE on ssrc table… Justin Uberti
- Re: [rtcweb] JSEP-19: Impact of BYE on ssrc table… Cullen Jennings
- Re: [rtcweb] JSEP-19: Impact of BYE on ssrc table… Magnus Westerlund
- Re: [rtcweb] JSEP-19: Impact of BYE on ssrc table… Bernard Aboba
- Re: [rtcweb] JSEP-19: Impact of BYE on ssrc table… Magnus Westerlund