Re: [MMUSIC] DECISION: Unique PT value/codec configuration mapping in a BUNDLE group [WAS: BUNDLE TEXT: De-mux procedures (June 19th)]

Emil Ivov <emcho@jitsi.org> Mon, 24 June 2013 17:11 UTC

Return-Path: <emcho@sip-communicator.org>
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 2180621E8154 for <mmusic@ietfa.amsl.com>; Mon, 24 Jun 2013 10:11:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.978
X-Spam-Level:
X-Spam-Status: No, score=-1.978 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fBCEgWcCgdOw for <mmusic@ietfa.amsl.com>; Mon, 24 Jun 2013 10:11:33 -0700 (PDT)
Received: from mail-pd0-x22c.google.com (mail-pd0-x22c.google.com [IPv6:2607:f8b0:400e:c02::22c]) by ietfa.amsl.com (Postfix) with ESMTP id E565321E813E for <mmusic@ietf.org>; Mon, 24 Jun 2013 10:11:32 -0700 (PDT)
Received: by mail-pd0-f172.google.com with SMTP id z10so570786pdj.17 for <mmusic@ietf.org>; Mon, 24 Jun 2013 10:11:32 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding:x-gm-message-state; bh=/oM9dpVTzG/RjHN4IyGnzfU0MO2n+URevYjEZ6t37iQ=; b=ggnO410ER63uuhSutwDuGeZrPq005n66Dg38WzVZqUQRMQHXxBKskzYh1fEpc/IHG3 kYO7NnClHp970zdB5Gm9291dFRPQMe4LRwtjgd32Hyaot4NQ0I2gpshC/X+ahaIZrpXK wQhb6Wss0xJ+a2Z64Q62R9TdK3MEpjo94mteYy2XntjmJR2qnzAtxX4Ip4GGh5a5d/2J iavAmRtQVS0DJ2JmLCl5VEfCk41kAQ/vG+c8y1RHmpbi7HWdw+28M8PKaNISEsmNto8I h4UZchub5FX6vsfdnMcB1UCrnSUBLXrCmrt8jURMw5cwbuCurbzB75l0nZAIKOZmfzvN J5bw==
X-Received: by 10.66.190.164 with SMTP id gr4mr27800862pac.215.1372093892573; Mon, 24 Jun 2013 10:11:32 -0700 (PDT)
Received: from mail-pd0-x235.google.com (mail-pd0-x235.google.com [2607:f8b0:400e:c02::235]) by mx.google.com with ESMTPSA id xl3sm19004635pbb.17.2013.06.24.10.11.32 for <mmusic@ietf.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 24 Jun 2013 10:11:32 -0700 (PDT)
Received: by mail-pd0-f181.google.com with SMTP id 14so569468pdj.12 for <mmusic@ietf.org>; Mon, 24 Jun 2013 10:11:31 -0700 (PDT)
X-Received: by 10.68.217.170 with SMTP id oz10mr5908311pbc.152.1372093891887; Mon, 24 Jun 2013 10:11:31 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.66.122.130 with HTTP; Mon, 24 Jun 2013 10:11:10 -0700 (PDT)
In-Reply-To: <CAHBDyN4Cibvk=PYvP+O6tW4jdPYsLaU+7W5DMSPd1GOYt5JG9g@mail.gmail.com>
References: <7594FB04B1934943A5C02806D1A2204B1C3B8F81@ESESSMB209.ericsson.se> <CAHBDyN4Cibvk=PYvP+O6tW4jdPYsLaU+7W5DMSPd1GOYt5JG9g@mail.gmail.com>
From: Emil Ivov <emcho@jitsi.org>
Date: Mon, 24 Jun 2013 19:11:10 +0200
Message-ID: <CAPvvaa+ng0NjhGs4UjhYVMSb_4sGv1LEqywmkYekcUWaF0cO9Q@mail.gmail.com>
To: Mary Barnes <mary.ietf.barnes@gmail.com>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Gm-Message-State: ALoCoQn2+RI16WAEMkMCbHTMYqCW2yUx0QFLWiUCA99d0OWp+IkaHa57mKKMap1EXtlIPjw+QuDG
Cc: "mmusic@ietf.org" <mmusic@ietf.org>, Paul Kyzivat <pkyzivat@alum.mit.edu>, Christer Holmberg <christer.holmberg@ericsson.com>
Subject: Re: [MMUSIC] DECISION: Unique PT value/codec configuration mapping in a BUNDLE group [WAS: BUNDLE TEXT: De-mux procedures (June 19th)]
X-BeenThere: mmusic@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Mon, 24 Jun 2013 17:11:34 -0000

+1

Emil

On Mon, Jun 24, 2013 at 7:10 PM, Mary Barnes <mary.ietf.barnes@gmail.com> wrote:
> I too agree with Q1 and Q2.
>
> Mary.
>
> On Mon, Jun 24, 2013 at 5:40 AM, Christer Holmberg
> <christer.holmberg@ericsson.com> wrote:
>>
>> Hi,
>>
>> Based on the input and discussion, let's see if we can make a couple of decisions :)
>>
>>
>> Q1: Can we agree that, within a BUNDLE group (including all m- lines associated with the group), any given PT value can only be used for a single codec configuration?
>>
>> NOTE: If you think we need some clarification text on what "codec configuration" means, or if you think we should use some other wording - feel free to suggest :)
>>
>>
>>
>> Q2: If we agree on Q1, do we agree that we need EXPLICIT text in BUNDLE, as there are opinions that simply referencing RFC 3550 might not be clear enough?
>>
>>
>> Regards,
>>
>> Christer
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> -----Original Message-----
>> From: mmusic-bounces@ietf.org [mailto:mmusic-bounces@ietf.org] On Behalf Of Paul Kyzivat
>> Sent: 20. kesäkuuta 2013 17:33
>> To: mmusic@ietf.org
>> Subject: Re: [MMUSIC] BUNDLE TEXT: De-mux procedures (June 19th)
>>
>> On 6/20/13 8:37 AM, Colin Perkins wrote:
>>> On 20 Jun 2013, at 05:53, Christer Holmberg wrote:
>>>>>> Using 96 for both Opus and VP8 is flat out illegal according to the RTP specs.
>>>>>
>>>>> Agree.
>>>>
>>>> So, we DO agree that the usage of the *same* PT value (even if in different m= lines) for different codecs, or different codec configurations, is not allowed.
>>>>
>>>> Is there some specific section in some specific RFC that can be referenced to show that?
>>>
>>> RFC 3550 Sections 1, 5.1, 12, and 13 make it clear that the mapping is defined per RTP profile (i.e., for RTP/AVP and profiles derived from it). The BUNDLE defines a single RTP session, which operates under a single RTP profile, so must have a single mapping from Payload Type to Payload Formats. RFC 3551 section 3 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.
>>>
>>> You'll note that the association is per RTP session, not per SSRC or other subset of the session.
>>
>> I'm not inclined to argue the details of RTP with an RTP expert!
>> But just wearing my standards-lawyer hat I read all of the above references, and could not find anything that clearly justified the assertions you make. I read them as clearly stating that the *static* ones are defined for a profile. I guess the key part of the quote above
>> is: "This association is effective only for the duration of the RTP session". That seems to *bound* the scope of the association, but doesn't explicitly state that it must be unique within that scope.
>>
>> But maybe that is just a matter of me not reading it right, or of the text not having captured every nuance of the intent.
>>
>>> If you're looking for a statement that two m= lines in an SDP can't map the same PT value to different things, you're unlikely to find it, since pre-BUNDLE those two m= lines would refer to different RTP sessions, so it would be legal to reuse PT values across m= lines. It's because BUNDLE makes a single RTP session out of several m= lines that you need unique PT mapping across all the m= lines.
>>
>> Of course. So I think that means its important for bundle to clearly state the requirement, if it is to be a real one.
>>
>>         Thanks,
>>         Paul
>>
>>> Colin
>>>
>>>
>>>>>> The corner case where we're discussing whether one can use the same
>>>>>> payload type is if you have two M-lines that both specify VP8, with the same codec parameters - whether they can both use 96, given that it's the same codec.
>>>>>
>>>>> Surely yes, but you lose the ability to distinguish the m= line
>>>>> based on the PT if you use the same PT (mapped to the exact same
>>>>> codec and set of codec parameters) in several m= lines. Some applications care about distinguishing m= lines based on PT values, and so need distinct PT values for every m= line; others don't care, and can use the same PT to represent the same codec across multiple m= lines.
>>>>
>>>> Exactly. So, I think it's a good idea to have some text about that in BUNDLE.
>>>>
>>>> Regards,
>>>>
>>>> Christer
>>>>
>>>
>>>
>>>
>>
>> _______________________________________________
>> mmusic mailing list
>> mmusic@ietf.org
>> https://www.ietf.org/mailman/listinfo/mmusic
>> _______________________________________________
>> mmusic mailing list
>> mmusic@ietf.org
>> https://www.ietf.org/mailman/listinfo/mmusic
> _______________________________________________
> mmusic mailing list
> mmusic@ietf.org
> https://www.ietf.org/mailman/listinfo/mmusic



-- 
Emil Ivov, Ph.D.                       67000 Strasbourg,
Project Lead                           France
Jitsi
emcho@jitsi.org                        PHONE: +33.1.77.62.43.30
https://jitsi.org                       FAX:   +33.1.77.62.47.31