Re: [MMUSIC] How does mmt grouping work with multiple streams of the same type?

Harald Alvestrand <harald@alvestrand.no> Fri, 12 October 2012 10:41 UTC

Return-Path: <harald@alvestrand.no>
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 2DBE121F8545 for <mmusic@ietfa.amsl.com>; Fri, 12 Oct 2012 03:41:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -109.463
X-Spam-Level:
X-Spam-Status: No, score=-109.463 tagged_above=-999 required=5 tests=[AWL=-0.664, BAYES_00=-2.599, J_CHICKENPOX_12=0.6, J_CHICKENPOX_15=0.6, J_CHICKENPOX_18=0.6, RCVD_IN_DNSWL_HI=-8, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nemCtHqfT4oq for <mmusic@ietfa.amsl.com>; Fri, 12 Oct 2012 03:41:57 -0700 (PDT)
Received: from eikenes.alvestrand.no (eikenes.alvestrand.no [158.38.152.233]) by ietfa.amsl.com (Postfix) with ESMTP id 4498121F8575 for <mmusic@ietf.org>; Fri, 12 Oct 2012 03:41:57 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by eikenes.alvestrand.no (Postfix) with ESMTP id 45C3039E091; Fri, 12 Oct 2012 12:41:56 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at eikenes.alvestrand.no
Received: from eikenes.alvestrand.no ([127.0.0.1]) by localhost (eikenes.alvestrand.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gBdGNOwcLvbS; Fri, 12 Oct 2012 12:41:55 +0200 (CEST)
Received: from [IPv6:2001:470:de0a:27:fc1c:ba7f:f912:f2d7] (unknown [IPv6:2001:470:de0a:27:fc1c:ba7f:f912:f2d7]) by eikenes.alvestrand.no (Postfix) with ESMTPSA id 153EA39E062; Fri, 12 Oct 2012 12:41:55 +0200 (CEST)
Message-ID: <5077F3F2.7010805@alvestrand.no>
Date: Fri, 12 Oct 2012 12:41:54 +0200
From: Harald Alvestrand <harald@alvestrand.no>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120912 Thunderbird/15.0.1
MIME-Version: 1.0
To: "Stach, Thomas" <thomas.stach@siemens-enterprise.com>
References: <F81CEE99482EFE438DAE2A652361EE120128BCF2@MCHP04MSX.global-ad.net> <5076CC50.7000103@alvestrand.no> <F81CEE99482EFE438DAE2A652361EE120128BD71@MCHP04MSX.global-ad.net> <5076DB5F.5030205@alvestrand.no> <F81CEE99482EFE438DAE2A652361EE120128BDAA@MCHP04MSX.global-ad.net> <5076E2AB.2070507@alvestrand.no> <F81CEE99482EFE438DAE2A652361EE120128C17C@MCHP04MSX.global-ad.net> <5077D873.20103@alvestrand.no> <F81CEE99482EFE438DAE2A652361EE120128C2C8@MCHP04MSX.global-ad.net>
In-Reply-To: <F81CEE99482EFE438DAE2A652361EE120128C2C8@MCHP04MSX.global-ad.net>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Cc: Jonathan Lennox <jonathan@vidyo.com>, mmusic WG <mmusic@ietf.org>, Christer Holmberg <christer.holmberg@ericsson.com>
Subject: Re: [MMUSIC] How does mmt grouping work with multiple streams of the same type?
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: Fri, 12 Oct 2012 10:41:58 -0000

On 10/12/2012 12:15 PM, Stach, Thomas wrote:
> Harald Alvestrand wrote:
>> On 10/12/2012 09:58 AM, Stach, Thomas wrote:
>>>>> I think we should continue to use RFC 5576 for this purpose:
>>>>>
>>>>> a=ssrc:1 <something follows>
>>> I haven't thought about that, but yes it would work for as well.
>>> For two audio streams (audio1 w/ PCMU or PCMA, audio2 w/ iLBC) it
>>> would look like this?
>>>
>>>      a=rtpmap:0 PCMU/8000
>>>      a=rtpmap:8 PCMA/8000
>>>      a=rtpmap:97 iLBC/8000
>>>      a=mmtype: 0 audio
>>>      a=mmtype: 8 audio
>>>      a=mmtype: 97 audio
>>>      a=ssrc:12345 fmtp:0
>>>      a=ssrc:12345 fmtp:8
>>>      a=ssrc:67890 fmtp:97
>> Yes, except that as far as I can tell from RFC 5576, you
>> can't use fmtp:
>> without an actual parameter value: "This parameter MUST only
>> be used for
>> media
>>      types for which source-level format parameters have
>> explicitly been
>>      specified". (section 6.3).
>>
>> If you need to use a field that's always present, use CNAME.
>>
>> Note(1): If you only use one payload type for all your audio,
>> you have
>> no need to signal which format they're using.
>>
>> Note(2): In the above, you have ssrc 12345 using both PCMU/8000 and
>> PCMA/8000. I don't know if it's intentional or not.
>>
> Yes, this was intentional,
> I used two different ssrc (12345, 67890) in order to indicate that I want to establish two audio streams.
> I used ssrc=12345 twice in order to give a hint that the first audio stream should either use PCMU or PCMA (and ssrc=12345).
> The second audio stream would use ssrc=67890 and iLBC.
>
> However from your responses I'm not sure if we are on the same page with respect to what I want to achieve.
> Let me tray to clarify.
>
> My understanding is that
> - the m=anymedia gives a complete description of what is offered,
> - if the answerer understands m=anymedia, it accepts the m=anymedia line and rejects all other m-lines
> - if the answerer understands m=anymedia, it can ignore all other m-lines in the SDP, it doesn't even have to look at them in order to build its answer.
>
> If this is correct, consider an SDP offer with e.g. 4 m-lines (2 audio+2 video)
>
>         v=0
>         o=alice 2890844526 2890844526 IN IP4 host.atlanta.com
>         s=
>         c=IN IP4 host.atlanta.com
>         t=0 0
>         m=audio 10000 RTP/AVP 0 8
>         a=rtpmap:0 PCMU/8000
>         a=rtpmap:8 PCMA/8000
>         m=audio 10002 RTP/AVP 97
>         a=rtpmap:97 iLBC/8000
>         m=video 20000 RTP/AVP 31
>         a=rtpmap:31 H261/90000
>         m=video 20002 RTP/AVP 32
>         a=rtpmap:32 MPV/90000
>
> How would the associated m=anymedia line look like in this case, such that the answerer can see
> that 2 audio and 2 video streams are offered without having to look into the other m-lines?
This offer does not guarantee that there are only 2 audio and 2 video 
streams.
It makes it a fair assumption that there are at least 2 of each (unless 
some of the m-lines are intended to be used for receiveonly), but it is 
perfectly legal to send more than one audio stream in each RTP session 
under each M-line.

So I don't think the starting point you're starting from is correct; 
until draft-westerlund-mmusic-max-ssrc or something like it is accepted, 
you have no way to tell *now* how many streams you are going to get.