Re: [MMUSIC] Offer/Answer PT Questions

Colin Perkins <csp@csperkins.org> Wed, 24 February 2016 10:38 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 992E61A21AD for <mmusic@ietfa.amsl.com>; Wed, 24 Feb 2016 02:38:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.3
X-Spam-Level:
X-Spam-Status: No, score=-1.3 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, J_CHICKENPOX_21=0.6] autolearn=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 z6BONO_I3jxr for <mmusic@ietfa.amsl.com>; Wed, 24 Feb 2016 02:38:13 -0800 (PST)
Received: from haggis.mythic-beasts.com (haggis.mythic-beasts.com [IPv6:2a00:1098:0:86: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 0D45E1A21AB for <mmusic@ietf.org>; Wed, 24 Feb 2016 02:38:13 -0800 (PST)
Received: from [82.132.237.202] (port=61714 helo=[172.20.10.3]) by haggis.mythic-beasts.com with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from <csp@csperkins.org>) id 1aYWpd-0007Bt-2g; Wed, 24 Feb 2016 10:38:09 +0000
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\))
From: Colin Perkins <csp@csperkins.org>
In-Reply-To: <7594FB04B1934943A5C02806D1A2204B37E3C787@ESESSMB209.ericsson.se>
Date: Wed, 24 Feb 2016 10:37:59 +0000
Content-Transfer-Encoding: quoted-printable
Message-Id: <7C0829C0-0BA2-482B-91FD-9A3ED97977E7@csperkins.org>
References: <E42CCDDA6722744CB241677169E8365615E419C0@MISOUT7MSGUSRDB.ITServices.sbc.com> <56C89F86.7020401@alum.mit.edu> <7594FB04B1934943A5C02806D1A2204B37E35E33@ESESSMB209.ericsson.se> <CAD5OKxsDGhSA1WpzVVEvdd0CQdbnFn+ST+ZP_=aYVWBVdKKs4g@mail.gmail.com> <7A0EA65A-83B0-4596-89D8-2E59F5AEA70F@csperkins.org> <56CC7E68.4040103@alum.mit.edu> <7594FB04B1934943A5C02806D1A2204B37E3C787@ESESSMB209.ericsson.se>
To: Christer Holmberg <christer.holmberg@ericsson.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/F4b8UEpsbcXAuDdGgbLEcYR0VnM>
Cc: Paul Kyzivat <pkyzivat@alum.mit.edu>, "mmusic@ietf.org" <mmusic@ietf.org>
Subject: Re: [MMUSIC] Offer/Answer PT Questions
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, 24 Feb 2016 10:38:14 -0000

> On 23 Feb 2016, at 18:04, Christer Holmberg <christer.holmberg@ericsson.com> wrote:
> 
> Hi,
> 
>>> No objection in principle, but it’s not as simple as “a few network RTTs”:
>>> 
>>> No ambiguity in decoding means that the packets need to have been 
>>> played out, so the codec state for that PT can be discarded. Some 
>>> systems can have large (multi-second) playout buffers.
>>> 
>>> Any packets referring to the old PT also need to be gone. Formats like 
>>> RFC 6354 allow large offsets between streams, referenced by PT (the 
>>> example in Section 5 has a 5.1 second offset).
>> 
>> Thanks for the insight. It helps to ground the discussion.
>> 
>> I'm also interested in hearing if there might be *other* reasons behind the rules as they are written.
>> 
>> The advantage of the current rule is that it is easy to explain, and is sufficient to deal with the problem you describe 
>> above. Unfortunately it is also difficult/impossible to comply with in some cases. If we are to replace it, we need to find 
>> something else to replace it with.
> 
> The current rule may be easy to understand, but it's difficult to understand - and that's what triggered this discussion :)
> 
> So, while we can discuss possible rules/guidelines on when a PT value can be used, I still think we need to answer the first question:
> 
> - If Alice allocates PT=X for codec 1, is Bob allowed to allocate PT=X for codec 2 within the same session? The current text is unclear on that, and I think that is the first question we need to sort out.

RFC 3551 (the RTP/AVP profile), section 3, top of page 7, says: 

   mechanisms for defining dynamic payload type bindings have been
   specified in the Session Description Protocol (SDP) and in other
   protocols such as ITU-T Recommendation H.323/H.245.  These mechanisms
   associate the registered name of the encoding/payload format, along
   with any additional required parameters, such as the RTP timestamp
   clock rate and number of channels, with a payload type number.  This
   association is effective only for the duration of the RTP session in
   which the dynamic payload type binding is made.  This association
   applies only to the RTP session for which it is made, thus the
   numbers can be re-used for different encodings in different sessions
   so the number space limitation is avoided.


I always interpreted that as RTP payload types being per RTP session, not per SSRC. That may, or may not, be consistent with the SDP specifications.

Colin



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