Re: [MMUSIC] Offer/Answer PT Questions - text proposal

Colin Perkins <csp@csperkins.org> Wed, 02 March 2016 22:02 UTC

Return-Path: <csp@csperkins.org>
X-Original-To: mmusic@ietfa.amsl.com
Delivered-To: mmusic@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9DFDA1B3281 for <mmusic@ietfa.amsl.com>; Wed, 2 Mar 2016 14:02:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=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 uO7Nhw-dvPoE for <mmusic@ietfa.amsl.com>; Wed, 2 Mar 2016 14:02:03 -0800 (PST)
Received: from balrog.mythic-beasts.com (balrog.mythic-beasts.com [IPv6:2a00:1098:0:82:1000:0:2:1]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 677131B3293 for <mmusic@ietf.org>; Wed, 2 Mar 2016 14:02:03 -0800 (PST)
Received: from [81.187.2.149] (port=40018 helo=[192.168.0.86]) by balrog.mythic-beasts.com with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from <csp@csperkins.org>) id 1abEqF-0002FR-Tj; Wed, 02 Mar 2016 22:02:01 +0000
Content-Type: multipart/alternative; boundary="Apple-Mail=_8A530046-C9DE-4CD7-BE4E-3C69824E8EEA"
Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\))
From: Colin Perkins <csp@csperkins.org>
In-Reply-To: <CAD5OKxtdmhW-opmp2TQou5wYbz70FdUvftr1PAZb9YiW4crevA@mail.gmail.com>
Date: Wed, 02 Mar 2016 22:01:54 +0000
Message-Id: <1D7A855D-2455-44C1-8D64-C275370BEB89@csperkins.org>
References: <7594FB04B1934943A5C02806D1A2204B37E425AB@ESESSMB209.ericsson.se> <56D07D29.2030500@alum.mit.edu> <CAD5OKxt0CBectoG5gpNsK4SPAu0JwnJOn7UimpKgt-TnFo+0zQ@mail.gmail.com> <56D08962.3060006@alum.mit.edu> <CAD5OKxtRB-f84=axhq_mkuyGXcq8nLCU2T6+6y=DNv9Ng1tKPQ@mail.gmail.com> <56D09563.9040509@alum.mit.edu> <CAD5OKxvwJwKoaaMHDDA8AKYdd2Rc8vOK_dnOftvozX+FbfqHOQ@mail.gmail.com> <56D1CA6C.70700@alum.mit.edu> <CAD5OKxt5jp44Saop+ssdPENBsRBNbkFUXFphZHMwqYDFLNWFpg@mail.gmail.com> <7594FB04B1934943A5C02806D1A2204B37E4BD38@ESESSMB209.ericsson.se> <56D463A3.8070007@alum.mit.edu> <7594FB04B1934943A5C02806D1A2204B37E4D5E9@ESESSMB209.ericsson.se> <56D4B1F1.2070706@alum.mit.edu> <7594FB04B1934943A5C02806D1A2204B37E4D951@ESESSMB209.ericsson.se> <66F2264B-3CA3-4650-88B6-89FC64D5FD29@csperkins.org> <7594FB04B1934943A5C02806D1A2204B37E4DB7C@ESESSMB209.ericsson.se> <56D4C0F5.50901@alum.mit.edu> <7594FB04B1934943A5C02806D1A2204B37E4EAD1@ESESSMB209.ericsson.se> <56D5CAA0.2060901@alum.mit.edu> <CAD5OKxt dmhW-opmp2TQou5wYbz70FdUvftr1PAZb9YiW4crevA@mail.gmail.com>
To: Roman Shpount <roman@telurix.com>
X-Mailer: Apple Mail (2.3112)
X-BlackCat-Spam-Score: -28
X-Mythic-Debug: Threshold = On =
Archived-At: <http://mailarchive.ietf.org/arch/msg/mmusic/ihRM7J9-lrxSWxU8BiSod5nD53c>
Cc: "mmusic@ietf.org" <mmusic@ietf.org>, Paul Kyzivat <pkyzivat@alum.mit.edu>, Christer Holmberg <christer.holmberg@ericsson.com>
Subject: Re: [MMUSIC] Offer/Answer PT Questions - text proposal
X-BeenThere: mmusic@ietf.org
X-Mailman-Version: 2.1.15
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: Wed, 02 Mar 2016 22:02:05 -0000

> On 1 Mar 2016, at 18:23, Roman Shpount <roman@telurix.com> wrote:
> 
> On Tue, Mar 1, 2016 at 12:00 PM, Paul Kyzivat <pkyzivat@alum.mit.edu <mailto:pkyzivat@alum.mit.edu>> wrote:
> I don't know. I guess Colin has said that there is *some* cost in RTP (in RTCP messages I suppose) to having multiple PTs for the same codec. But that should apply to the end introducing the alternative PT too, so we might just assume that each end makes its own judgement.
> 
> OTOH, based on this analysis, maybe we can conclude that there is no valid reason to do this, and so impose SHOULD NOT or MUST NOT on the practice.
> 
> I think the only cost is that you will run out of PT space. 

Agree.

> and an agreement that a different PT is used for each direction.
> 
> I guess you mean that a different PT *CAN* be used for each direction?
> 
> What I mean is that a different one MAY be introduced in an offer or answer, and that when sending to a particular participant, other participants MUST use one of the PTs mentioned in the most recent offer or answer by the target participant, even if there are other PTs that have been bound to codecs in this RTP session.
> 
> Different PT (and different codecs) can be used in different directions. Each party is supposed to use one of the PT from the remote party and use the last SDP received from the remote party to map PT to codec profile when encoding.

This I’m not sure I agree with. An RTP session is bi-directional, and the PT mapping has to be consistent in both directions. This doesn’t mean that the A->B flows has to use the same PT to identify a codec as the B->A flow uses, but they can’t use the same PT to identify different codecs. 

> What really bugs me about this discussion is that it is extremely difficult to determine when RTP session is started or stopped based on O/A exchanges. Because of this it is difficult to determine when it is safe to reuse PT for something else just by looking at O/A.
> 
> My proposal was extremely simple and based on three principals:
> 
> 1. When end point sends an offer it MUST allocate PT in such a way that this end point can unambiguously decode received RTP. If RTP packet with given PT can be received, this PT cannot be reused for a different codec profile
> 
> 2. When end point receives an offer it always honor the PT assignments in this offer even if they conflict with current PT assignments
> 
> 3. If end point receives an offer and this offer conflicts with current PT assignments, end point allocates new local transport, starts new RTP session, forgets the existing PT assignment history and responds to this offer as if it was a new call.
> 
> Regards,
> _____________
> Roman Shpount
>  
> _______________________________________________
> mmusic mailing list
> mmusic@ietf.org
> https://www.ietf.org/mailman/listinfo/mmusic



-- 
Colin Perkins
https://csperkins.org/