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

"Stach, Thomas" <thomas.stach@siemens-enterprise.com> Fri, 12 October 2012 10:15 UTC

Return-Path: <thomas.stach@siemens-enterprise.com>
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 8251121F856C for <mmusic@ietfa.amsl.com>; Fri, 12 Oct 2012 03:15:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.199
X-Spam-Level:
X-Spam-Status: No, score=-0.199 tagged_above=-999 required=5 tests=[AWL=-0.600, BAYES_00=-2.599, J_CHICKENPOX_12=0.6, J_CHICKENPOX_14=0.6, J_CHICKENPOX_15=0.6, J_CHICKENPOX_16=0.6, J_CHICKENPOX_18=0.6]
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 F-GBJGKnCy38 for <mmusic@ietfa.amsl.com>; Fri, 12 Oct 2012 03:15:21 -0700 (PDT)
Received: from senmx11-mx.siemens-enterprise.com (senmx11-mx.siemens-enterprise.com [62.134.46.9]) by ietfa.amsl.com (Postfix) with ESMTP id 6D33221F8527 for <mmusic@ietf.org>; Fri, 12 Oct 2012 03:15:21 -0700 (PDT)
Received: from MCHP02HTC.global-ad.net (unknown [172.29.42.235]) by senmx11-mx.siemens-enterprise.com (Server) with ESMTP id 86FD01EB84D8; Fri, 12 Oct 2012 12:15:20 +0200 (CEST)
Received: from MCHP04MSX.global-ad.net ([169.254.1.76]) by MCHP02HTC.global-ad.net ([172.29.42.235]) with mapi id 14.02.0318.001; Fri, 12 Oct 2012 12:15:20 +0200
From: "Stach, Thomas" <thomas.stach@siemens-enterprise.com>
To: Harald Alvestrand <harald@alvestrand.no>
Thread-Topic: AW: AW: AW: How does mmt grouping work with multiple streams of the same type?
Thread-Index: AQHNqFXRBmp+pOZsF0CIj8CaYweqY5e1YuGQ
Date: Fri, 12 Oct 2012 10:15:19 +0000
Message-ID: <F81CEE99482EFE438DAE2A652361EE120128C2C8@MCHP04MSX.global-ad.net>
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>
In-Reply-To: <5077D873.20103@alvestrand.no>
Accept-Language: de-AT, en-US
Content-Language: de-DE
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [172.29.42.225]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
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:15:22 -0000

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?

How would the answer look like?

Thanks
Thomas


>>>> 
>>>> The suggestion above wouldn't work for the case of two SSRCs
>>>> both using the same payload type.
>> Well it would if you duplicated the a=mmtype attribute with
> different ssrc elements in that case.
>>       a=mmtype: 0 audio ssrc=1
>>       a=mmtype: 0 audio ssrc=2
>> Would you do something else for a=ssrc?
> 
> Well, a=ssrc *is* something else. The above mixes info about payload
> types and info about SSRCs; I think that's a bad design.