Re: [MMUSIC] Offer/Answer PT Questions

Christer Holmberg <christer.holmberg@ericsson.com> Wed, 24 February 2016 11:08 UTC

Return-Path: <christer.holmberg@ericsson.com>
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 7E8491A87CA for <mmusic@ietfa.amsl.com>; Wed, 24 Feb 2016 03:08:44 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.6
X-Spam-Level:
X-Spam-Status: No, score=-3.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, J_CHICKENPOX_21=0.6, RCVD_IN_DNSWL_MED=-2.3] 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 nFOgMl7J-Ugl for <mmusic@ietfa.amsl.com>; Wed, 24 Feb 2016 03:08:43 -0800 (PST)
Received: from sessmg23.ericsson.net (sessmg23.ericsson.net [193.180.251.45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7A0B91A87C5 for <mmusic@ietf.org>; Wed, 24 Feb 2016 03:08:42 -0800 (PST)
X-AuditID: c1b4fb2d-f794c6d000006f31-aa-56cd8f380cab
Received: from ESESSHC023.ericsson.se (Unknown_Domain [153.88.183.87]) by sessmg23.ericsson.net (Symantec Mail Security) with SMTP id 6A.45.28465.83F8DC65; Wed, 24 Feb 2016 12:08:40 +0100 (CET)
Received: from ESESSMB209.ericsson.se ([169.254.9.73]) by ESESSHC023.ericsson.se ([153.88.183.87]) with mapi id 14.03.0248.002; Wed, 24 Feb 2016 12:08:39 +0100
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Colin Perkins <csp@csperkins.org>
Thread-Topic: [MMUSIC] Offer/Answer PT Questions
Thread-Index: AdFrl0kuiZ+JG67LRQCl2lgEejcpMAAYtOkAAGpJ4lD///3bAIAA9P4AgABYEQD//8mqgIABcvuA///pTZA=
Date: Wed, 24 Feb 2016 11:08:39 +0000
Message-ID: <7594FB04B1934943A5C02806D1A2204B37E3F63F@ESESSMB209.ericsson.se>
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> <7C0829C0-0BA2-482B-91FD-9A3ED97977E7@csperkins.org>
In-Reply-To: <7C0829C0-0BA2-482B-91FD-9A3ED97977E7@csperkins.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [153.88.183.148]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprFIsWRmVeSWpSXmKPExsUyM2J7uK5F/9kwg/XPlSyWvzzBaDF1+WMW ixUbDrBazLgwldmBxePv+w9MHtPu32fzWLLkJ5PHrSkFASxRXDYpqTmZZalF+nYJXBnft61k K1inXvHh5xT2BsY1al2MnBwSAiYSi36tY4OwxSQu3FsPZHNxCAkcZpT4P+MsC4SzmFFi++d9 jF2MHBxsAhYS3f+0QRpEBFQldhz/xwhiMwsUSTRMuQ42SFhAX+L9oiPsEDUGEntfHoCykyTW 3m5hBrFZgHoPLl0KVs8r4Ctx/tIUdohdt5glNu45zgKS4BRwlGjZugqsmRHouu+n1jBBLBOX uPVkPhPE1QISS/acZ4awRSVePv7HCmErSTQuecIKcjOzgKbE+l36EK2KElO6H7JD7BWUODnz CcsERrFZSKbOQuiYhaRjFpKOBYwsqxhFi1OLi3PTjYz1Uosyk4uL8/P08lJLNjECY+zglt+6 OxhXv3Y8xCjAwajEw1vw5EyYEGtiWXFl7iFGCQ5mJRFextKzYUK8KYmVValF+fFFpTmpxYcY pTlYlMR51zivDxMSSE8sSc1OTS1ILYLJMnFwSjUwVi+5ccYktLng7ZSbc+1mc3/6e8Q1+1uA vuc2456Dwgx/7FZ/bSjI3r/Td9LjdbfTn4dP9GmY5fN6MZfRSxFOowXc8b1bNJqSP7FXKYT2 BYkGrDn9809rZeT2c5+fJRj0rnXayyuguyvwxq+YfAvOhNdKZmuOCIWkpp+J3/h5Y/uSD3PC q4yqlViKMxINtZiLihMBG+rAya0CAAA=
Archived-At: <http://mailarchive.ietf.org/arch/msg/mmusic/HB4MvBRjAnvol5VTAe0zos7Zvlw>
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 11:08:44 -0000

Hi Colin,

>>>> 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.

Q1: Then my next question is: when is the BINDING created? Is a binding created once a user has indicated (in an offer or answer) a PT/codec mapping - no matter if the other endpoint will use the same codec to begin with, or PT value for that codec?

Example #1:
----------------

Alice offers:

PT 100: (AMR-WB)
PT 111: (VP8)

Bob answers:

PT 111: (VP8)

Q2: Now, eventhough did not indicate support of AMR-WR, the BINDING between PT 100 and AMR-WR has still been created, and neither Alice or Bob is allowed to re-use PT 100 for anything else within the session?


Example #2:
----------------

Alice offers:

PT 100: (AMR-WB)

Bob answers:

PT 111: (AMR-WB)


Q3: Now, two bindings have been created: one binding between PT 100 and AMR-WB, and one binding between PT 111 and AMR-WB. After this, neither Alice or Bob is allowed to re-use PT 100 or PT 111 for anything else within the session?

Q4: HOWEVER, even if Bob indicated PT 111 and AMR-WB, I assume Bob would still be allowed to indicate PT 100 and AMR-WB, as it does not conflict with the existing binding?


Regards,

Christer






Regards,

Christer