Re: [MMUSIC] Text proposal for Bundle regarding Associating RTP/RTCP With Correct SDP Media Description
Magnus Westerlund <magnus.westerlund@ericsson.com> Tue, 14 February 2017 14:21 UTC
Return-Path: <magnus.westerlund@ericsson.com>
X-Original-To: mmusic@ietfa.amsl.com
Delivered-To: mmusic@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 691E0129A4D; Tue, 14 Feb 2017 06:21:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.221
X-Spam-Level:
X-Spam-Status: No, score=-4.221 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] 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 XR0gz6YVSANa; Tue, 14 Feb 2017 06:21:01 -0800 (PST)
Received: from sessmg22.ericsson.net (sessmg22.ericsson.net [193.180.251.58]) (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 4A6B71298C1; Tue, 14 Feb 2017 06:21:00 -0800 (PST)
X-AuditID: c1b4fb3a-7d7ff70000005e23-21-58a3124b7da0
Received: from ESESSHC024.ericsson.se (Unknown_Domain [153.88.183.90]) by (Symantec Mail Security) with SMTP id 38.EA.24099.B4213A85; Tue, 14 Feb 2017 15:21:00 +0100 (CET)
Received: from [127.0.0.1] (153.88.183.153) by smtp.internal.ericsson.com (153.88.183.92) with Microsoft SMTP Server id 14.3.319.2; Tue, 14 Feb 2017 15:20:59 +0100
From: Magnus Westerlund <magnus.westerlund@ericsson.com>
To: Cullen Jennings <fluffy@iii.ca>, Jonathan Lennox <jonathan@vidyo.com>
References: <1f020dc6-1ac8-b71b-aee4-a711d15f1588@ericsson.com> <D2A63CD5-61AB-47DD-B946-6A17A94F76E7@vidyo.com> <7ED35CA1-D90C-444A-93EF-445C894B6859@iii.ca>
Message-ID: <f7b48719-c2c1-733c-c4f6-f5a65e7c2b63@ericsson.com>
Date: Tue, 14 Feb 2017 15:20:58 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1
MIME-Version: 1.0
In-Reply-To: <7ED35CA1-D90C-444A-93EF-445C894B6859@iii.ca>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrMLMWRmVeSWpSXmKPExsUyM2J7lK6P0OIIg3nGFtNnvWOzmN+xjs3i w/ofjBb7F59ntpi6/DGLxdp/7ewObB5Llvxk8rh8/iOjx5fLn9k82p7dYQ9gieKySUnNySxL LdK3S+DKWDAtvWCWUsXl3/dZGhhvSXUxcnJICJhI3J3wh62LkYtDSGAdo8Tn39eZIJzljBI3 r/9nAqliE7CQuPmjkQ3EFhYokjjwso0ZxBYR8JRYtuUtVPciRon12y4xgzjMAn8ZJToXLmUB qeIVsJf42n2fFcRmEVCVaD70gx3EFhWIkdjbf58JokZQ4uTMJ2D1nAJWEheOzgfbwAy0eeb8 84wQtrxE89bZYHEhAW2JhqYO1gmMArOQtM9C0jILScsCRuZVjKLFqcXFuelGRnqpRZnJxcX5 eXp5qSWbGIFBfXDLb6sdjAefOx5iFOBgVOLh/XByYYQQa2JZcWXuIUYJDmYlEV5hwcURQrwp iZVVqUX58UWlOanFhxilOViUxHnNVt4PFxJITyxJzU5NLUgtgskycXBKNTBa/blW2iumqHm0 MmzK9uctR/XvneKafuS059XqU//L7obtPP1C1zuOQaDE1tU7clqg8Bshh0evfpgFO1wOeFYj FdK4gTvzdIWDqp4i18Q71hbmIjFT2e1cq0WPv771gn+pz+KP+7+K+7r35If+3q//YtdJi1mP ptkfjVnFedC/LyCTY3dn5HklluKMREMt5qLiRADSufa8ZgIAAA==
Archived-At: <https://mailarchive.ietf.org/arch/msg/mmusic/KO4OB3SYkW349MM1_Q6fcZuo38Q>
Cc: "draft-ietf-rtcweb-jsep@tools.ietf.org" <draft-ietf-rtcweb-jsep@tools.ietf.org>, RTCWeb IETF <rtcweb@ietf.org>, mmusic <mmusic@ietf.org>, "draft-ietf-mmusic-sdp-bundle-negotiation@ietf.org" <draft-ietf-mmusic-sdp-bundle-negotiation@ietf.org>
Subject: Re: [MMUSIC] Text proposal for Bundle regarding Associating RTP/RTCP With Correct SDP Media Description
X-BeenThere: mmusic@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Multiparty Multimedia Session Control Working Group <mmusic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mmusic>, <mailto:mmusic-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mmusic/>
List-Post: <mailto:mmusic@ietf.org>
List-Help: <mailto:mmusic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mmusic>, <mailto:mmusic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 14 Feb 2017 14:21:02 -0000
Hi, Please see below for my feedback on this. Den 2017-02-02 kl. 23:19, skrev Cullen Jennings: > >> On Jan 31, 2017, at 10:43 AM, Jonathan Lennox <jonathan@vidyo.com> >> wrote: >> >> In general, this looks good. >> >> I have one question, however. What should happen if an RTP packet >> (without a MID) is received for a stream that has an existing >> mapping to an m= line, but whose PT is not valid for that m= line? >> >> Should it 1. Cause the stream’s mapping to be moved to another m= >> line, if the received PT is in the payload type table for some >> other m= line? or 2. Be an error? > > > Imagine a case where we have two sends call A and B and they each use > one PT that is unique and go to different m lines on receiver C via a > SFU. Initially C get a packet from B with a given SSRC and the PT > and creates a mapping for it. But imagine that A and B had an SSRC > collision which they sort that out and A ends up having the SSRC that > B initially used. If you don't have the PT override the SSRC, the > packets are going to go to the wrong m-line because the PT points at > the m-line A is using but the old SSRC incorrectly points at the > m-line B is using. > > To put this a different way, if the packet has a mid, I think it is > very clear the mid has to override the PT. Same for the PT. The mid > is effectively just an extended PT. > > I'm not thinking to much about the case where SSRC is signalled in > SDP but ignoring that case for a second, I think the really easy > thing to specify, implement, and understand works is simply a > priority order where roughly > > 1) if you have mid, use that and latch the SSRC > 2) if you have a unique pt, use that and latch the SSRC > 3) if you have a latched SSRC use that > > If you had signaled SSRC, guess I would insert that as step 1.5 of > use that > The issue as I see it is when and how you update the RTP stream to m= line mapping table. I think we have to be clear and separate the actions for how the RTP stream to m= line table is built and how it is updated. Signalling: Build mid to m= line table If a=ssrc is used, enter SSRC in RTP stream to m= line table. Add flag (signalled) to entry. On Reception of RTP stream not in RTP stream to m= line table: 1) if you have mid, use that and add to RTP stream table. 2) if you have a unique pt, use that and add to RTP stream table If the RTP stream is in the RTP stream to m= line table. On RTP packet reception check if update is needed: 1) New MID, then update RTP stream entry, unless signalled 2) If PT indicates different m= line, update entry unless signalled or set by MID. The point of looking on the problem from this direction is that we actually need to care about what set the entry originally and if it has precedence. Yes, the question of how one removes or updates stale entries are important. But this brings out the question for the above. Is an entry set by MID to be overwritten by a PT change? Yes, it will be possible to construct edge cases where one or the other approach will be sub-optimal. However, I think biasing the usage for working correctly with MID and having sub-optimal behaviors in other cases that can be avoided by for example the SFU not making bad choices, like not suppressing SSRC collisions between the different SSRC spaces. So entry updates are happening for the following reasons. New SDP: Remove all signalled entries not explicitly included in new signalling message. Explicitly listed entries are updated to indicate the correct m= line. RTCP BYE: Remove SSRC from table (using timeout procedure to avoid RTP packet reordering from reinstating entry), unless signalled? SSRC timeout. If the SSRC times out on RTP/RTCP level, then the entry is also removed, unless signaled. 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 ----------------------------------------------------------------------
- [MMUSIC] Text proposal for Bundle regarding Assoc… Magnus Westerlund
- Re: [MMUSIC] Text proposal for Bundle regarding A… Magnus Westerlund
- Re: [MMUSIC] [rtcweb] Text proposal for Bundle re… Magnus Westerlund
- Re: [MMUSIC] Text proposal for Bundle regarding A… Jonathan Lennox
- Re: [MMUSIC] Text proposal for Bundle regarding A… Jonathan Lennox
- Re: [MMUSIC] Text proposal for Bundle regarding A… Magnus Westerlund
- Re: [MMUSIC] Text proposal for Bundle regarding A… Christer Holmberg
- Re: [MMUSIC] Text proposal for Bundle regarding A… Jonathan Lennox
- Re: [MMUSIC] Text proposal for Bundle regarding A… Jonathan Lennox
- Re: [MMUSIC] Text proposal for Bundle regarding A… Christer Holmberg
- Re: [MMUSIC] [rtcweb] Text proposal for Bundle re… Bernard Aboba
- Re: [MMUSIC] Text proposal for Bundle regarding A… Magnus Westerlund
- Re: [MMUSIC] [rtcweb] Text proposal for Bundle re… Magnus Westerlund
- Re: [MMUSIC] [rtcweb] Text proposal for Bundle re… Roni Even
- Re: [MMUSIC] Text proposal for Bundle regarding A… Cullen Jennings
- Re: [MMUSIC] [rtcweb] Text proposal for Bundle re… Cullen Jennings (fluffy)
- Re: [MMUSIC] [rtcweb] Text proposal for Bundle re… Iñaki Baz Castillo
- Re: [MMUSIC] [rtcweb] Text proposal for Bundle re… Bernard Aboba
- Re: [MMUSIC] [rtcweb] Text proposal for Bundle re… Christer Holmberg
- Re: [MMUSIC] [rtcweb] Text proposal for Bundle re… Magnus Westerlund
- Re: [MMUSIC] Text proposal for Bundle regarding A… Magnus Westerlund
- Re: [MMUSIC] [rtcweb] Text proposal for Bundle re… Cullen Jennings (fluffy)
- Re: [MMUSIC] [rtcweb] Text proposal for Bundle re… Christer Holmberg
- Re: [MMUSIC] [rtcweb] Text proposal for Bundle re… Justin Uberti