Re: [MMUSIC] DECISION: Default mechanism to map RTP data to m- line is based on PT?

Paul Kyzivat <pkyzivat@alum.mit.edu> Tue, 25 June 2013 17:44 UTC

Return-Path: <pkyzivat@alum.mit.edu>
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 0660221E8099 for <mmusic@ietfa.amsl.com>; Tue, 25 Jun 2013 10:44:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.503
X-Spam-Level:
X-Spam-Status: No, score=0.503 tagged_above=-999 required=5 tests=[AWL=0.340, BAYES_00=-2.599, FH_RELAY_NODNS=1.451, HELO_MISMATCH_NET=0.611, J_CHICKENPOX_14=0.6, RDNS_NONE=0.1]
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 Ym1Hl4ED7NF0 for <mmusic@ietfa.amsl.com>; Tue, 25 Jun 2013 10:44:05 -0700 (PDT)
Received: from qmta09.westchester.pa.mail.comcast.net (qmta09.westchester.pa.mail.comcast.net [IPv6:2001:558:fe14:43:76:96:62:96]) by ietfa.amsl.com (Postfix) with ESMTP id C5D8F21E80AC for <mmusic@ietf.org>; Tue, 25 Jun 2013 10:44:00 -0700 (PDT)
Received: from omta17.westchester.pa.mail.comcast.net ([76.96.62.89]) by qmta09.westchester.pa.mail.comcast.net with comcast id scRv1l0021vXlb859hjz8D; Tue, 25 Jun 2013 17:43:59 +0000
Received: from Paul-Kyzivats-MacBook-Pro.local ([50.138.229.164]) by omta17.westchester.pa.mail.comcast.net with comcast id shjz1l00L3ZTu2S3dhjzq7; Tue, 25 Jun 2013 17:43:59 +0000
Message-ID: <51C9D6DE.3090509@alum.mit.edu>
Date: Tue, 25 Jun 2013 13:43:58 -0400
From: Paul Kyzivat <pkyzivat@alum.mit.edu>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130509 Thunderbird/17.0.6
MIME-Version: 1.0
To: mmusic@ietf.org
References: <7594FB04B1934943A5C02806D1A2204B1C3BAA2F@ESESSMB209.ericsson.se> <51C9CD45.3050404@jitsi.org> <BLU403-EAS31453FD29F30B55A6F15CF1938B0@phx.gbl>
In-Reply-To: <BLU403-EAS31453FD29F30B55A6F15CF1938B0@phx.gbl>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20121106; t=1372182239; bh=u1OMp+OvBHtQBEiww3Cje5kw+QxOfz1PRNbYpjH2Iz4=; h=Received:Received:Message-ID:Date:From:MIME-Version:To:Subject: Content-Type; b=T699IhSmTzijKtUhOhCI7Lr8wH8RuqzlqoDX8kVBaQdfBLhhfqsmw+St8ID4yVrIV Z/rZD9TwmWuXlxMgpxc+6IDWuEUBfIno+oCfeUCDQdtTy/ZoaoWGy7EoQvdMpmfSrB kxVpOvTGtuhg+PYmuGuMdwKWOShMemk4b5w+YmoAAnPCEVtTEihzqBl98WynzAVPhV Iz6yWK2XqAm6bEsxP3FShQZV36f/bEhLIDVM6VkrQyL51PcVmFYiedXwjiZzVv+Ldm ovBq7Xge3l90vySU2oTG110mTMj8I3GyonkMWIe0qbmgSFXFiDKKYV4Ufk8yi2+AaY QyH0S9oNBgqzA==
Subject: Re: [MMUSIC] DECISION: Default mechanism to map RTP data to m- line is based on PT?
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: Tue, 25 Jun 2013 17:44:10 -0000

On 6/25/13 1:11 PM, Bernard Aboba wrote:
> Agree with Emil that "default" makes more sense for use of PT for mapping to an m line. If a=SSRC is specified on an m line then that should take precedence over PT.

I don't think "takes precedence" is quite the right way to think about it.

You support some number of mechanisms: PT only, or PT & SSRC, or ...

For the set of mechanisms you support, for each m-line you have some 
values for some of the mechanisms. When you receive a packet, attempt to 
match it to each m-line based on the the values it contains and those 
specified for each m-line. If a packet matches more than one m-line, 
then choose the m-line that matches the most values. If that still 
matches multiple m-lines, then there is an error.

You can statically analyze an offer and a candidate answer and determine 
if there can be any non-unique matches. If so, then you should not send 
that answer. Instead, send one that is more unique, or else reject some 
of the m-lines, or refuse to bundle some of them.

You can also statically analyze the O/A and determine a precedence for 
applying the mechanisms that minimizes the checking required for doing 
the matching. When using PT & SSRC, depending on the details it may be 
favorable to check one or the other first.

	Thanks,
	Paul

> On Jun 25, 2013, at 10:03 AM, "Emil Ivov" <emcho@jitsi.org> wrote:
>
>>
>>
>> On 25.06.13, 13:34, Christer Holmberg wrote:
>>> Hi,
>>>
>>> Emil suggested that the default, “MTI”, mechanism for mapping RTP data
>>> to m- lines should be based on PT.
>>
>> Actually, what I thought was important was having it as the "default" mechanism. Personally I don't mind having it as MTI might but it might be a tad too strong: implementations that deem PT demux insufficient and wouldn't want to use bundle without it, don't need implement it.
>>
>> We should probably also agree on how an answerer can determine whether or not it is expected to provide additional demuxing information (e.g. SSRCs) or if the offerer is using the default mechanism.
>>
>> One way would be for the answerer to inspect all m= lines and try to detect duplicating PTs. This could be a bit clumsy though. The offerer could expect SSRCs but its first offer may not yet contain PT reuse.
>>
>> With that in mind ... (more below)
>>
>>> Applications are allowed to use
>>> whatever other mechanisms, but usage of such mechanisms must be
>>> negotiated (or, applications need to have some other means knowing that
>>> the other endpoint support such mechanisms).
>>>
>>> *Q3*: Do we need to specify a default, MTI, mechanism for mapping RTP
>>> data to m- lines?
>>
>> I am in favour of having a "default" one.
>>
>> Without this BUNDLE would have to be an abstract spec and I don't see why we would want to leave it that way.
>>
>>> *Q4*: If Q3, do we mandate applications to support, and use (unless
>>> applications are made aware of other mechanisms supported by all
>>> endpoints) PT for mapping received RTP media?
>>
>> In favour.
>>
>> Cheers,
>> Emil
>>
>>>
>>> This means that, when mapping RTP to m- lines is required (whether it is
>>> always mandated is discussed in another thread), within a BUNDLE group
>>> each PT value must be unique to an individual m- line.
>>>
>>> NOTE: If your answer to Q3 is “yes”, but your answer to Q4 is “no”,
>>> please indicate which mechanism you prefer J
>>>
>>> Regards,
>>>
>>> Christer
>>>
>>>
>>>
>>> _______________________________________________
>>> mmusic mailing list
>>> mmusic@ietf.org
>>> https://www.ietf.org/mailman/listinfo/mmusic
>>
>> --
>> https://jitsi.org
>>
>> _______________________________________________
>> 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
>