Re: [siprec] Multiplexing different participants' streams on the same port

"Charles Eckel (eckelcu)" <eckelcu@cisco.com> Tue, 29 March 2011 22:04 UTC

Return-Path: <eckelcu@cisco.com>
X-Original-To: siprec@core3.amsl.com
Delivered-To: siprec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C854D3A6ACC for <siprec@core3.amsl.com>; Tue, 29 Mar 2011 15:04:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.575
X-Spam-Level:
X-Spam-Status: No, score=-10.575 tagged_above=-999 required=5 tests=[AWL=0.024, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8DQLd3fHNeHG for <siprec@core3.amsl.com>; Tue, 29 Mar 2011 15:04:26 -0700 (PDT)
Received: from sj-iport-6.cisco.com (sj-iport-6.cisco.com [171.71.176.117]) by core3.amsl.com (Postfix) with ESMTP id DF6E23A6825 for <siprec@ietf.org>; Tue, 29 Mar 2011 15:04:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=eckelcu@cisco.com; l=8739; q=dns/txt; s=iport; t=1301436365; x=1302645965; h=mime-version:content-transfer-encoding:subject:date: message-id:in-reply-to:references:from:to:cc; bh=2VE1NeVmBUxvDTQshV6K5cY2SDXi414louz14/Rjao8=; b=LlSSht/LFGbBV0PJGgDaBa4K9za9+lvBIvzwO4RMdxoKYlPG/zoL/IO8 ZUzAcBCfJxKgREBGDVdDncLCC/UJRNh5Z9AdAJfimRJInq0FzCbTy7LJ0 IMzRUXDQHo+Mk8n8UpZrp3uYuCEceLyJ6Pd/p7O+BBRkwIrr6MgZ2et2U U=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AhEBAO5Wkk2rRDoI/2dsb2JhbACYD41Ad59QnGeCfAGCbQSFPIsgiUI
X-IronPort-AV: E=Sophos;i="4.63,265,1299456000"; d="scan'208";a="672789829"
Received: from mtv-core-3.cisco.com ([171.68.58.8]) by sj-iport-6.cisco.com with ESMTP; 29 Mar 2011 22:06:02 +0000
Received: from xbh-sjc-231.amer.cisco.com (xbh-sjc-231.cisco.com [128.107.191.100]) by mtv-core-3.cisco.com (8.14.3/8.14.3) with ESMTP id p2TM62hN001124; Tue, 29 Mar 2011 22:06:02 GMT
Received: from xmb-sjc-234.amer.cisco.com ([128.107.191.111]) by xbh-sjc-231.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 29 Mar 2011 15:06:02 -0700
X-Mimeole: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
Date: Tue, 29 Mar 2011 15:05:59 -0700
Message-ID: <E1CBF4C7095A3D4CAAAEAD09FBB8E08C03E389D5@xmb-sjc-234.amer.cisco.com>
In-Reply-To: <4D9251D0.5020006@cisco.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: [siprec] Multiplexing different participants' streams on the same port
Thread-Index: AcvuWfDEbSaUPY4tTRSCGnsvDfvonAAAwY9A
References: <A444A0F8084434499206E78C106220CA086A964E46@MCHP058A.global-ad.net><4D83523C.8030306@cisco.com> <E1CBF4C7095A3D4CAAAEAD09FBB8E08C03CE3489@xmb-sjc-234.amer.cisco.com> <A11921905DA1564D9BCF64A6430A623904DA2008@XMB-BGL-411.cisco.com> <07465C1D981ABC41A344374066AE1A2C38AB5D463C@TLVMBX01.nice.com> <4D91CF3F.1010809@cisco.com> <E1CBF4C7095A3D4CAAAEAD09FBB8E08C03E386D8@xmb-sjc-234.amer.cisco.com> <4D9251D0.5020006@cisco.com>
From: "Charles Eckel (eckelcu)" <eckelcu@cisco.com>
To: "Paul Kyzivat (pkyzivat)" <pkyzivat@cisco.com>
X-OriginalArrivalTime: 29 Mar 2011 22:06:02.0675 (UTC) FILETIME=[7E31C030:01CBEE5D]
Cc: siprec@ietf.org, Leon Portman <Leon.Portman@nice.com>
Subject: Re: [siprec] Multiplexing different participants' streams on the same port
X-BeenThere: siprec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SIP Recording Working Group Discussion List <siprec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/siprec>, <mailto:siprec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/siprec>
List-Post: <mailto:siprec@ietf.org>
List-Help: <mailto:siprec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/siprec>, <mailto:siprec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 29 Mar 2011 22:04:29 -0000

Typically they appear in RTCP only, and not in SIP or SDP. The RTCP
identify the mapping of CNAME to SSRC. In the SDP, you can specify the
SSRC for a media stream as described in RFC 5576 - Source-Specific Media
Attributes in the Session Description Protocol (SDP). I am not sure if
there are many existing implementations that do this.

Cheers,
Charles

> -----Original Message-----
> From: Paul Kyzivat (pkyzivat)
> Sent: Tuesday, March 29, 2011 11:41 PM
> To: Charles Eckel (eckelcu)
> Cc: Leon Portman; Parthasarathi R (partr); siprec@ietf.org
> Subject: Re: [siprec] Multiplexing different participants' streams on
the same port
> 
> Charles,
> 
> *In practice* how are cnames set for sip calls?
> I'm assuming they are something canned and unrelated to the signaling
> identity.
> 
> 	Thanks,
> 	Paul
> 
> On 3/29/2011 10:20 AM, Charles Eckel (eckelcu) wrote:
> > For the format and value of the CNAME, I suggest having a look at
> > "Guidelines for Choosing RTP Control Protocol (RTCP) Canonical Names
> > (CNAMEs)", draft-ietf-avt-rtp-cnames-05.
> > If the SIP AOR is meant to be the AOR registered by the participant,
> > this is almost certainly going to be something different.
> > The participant AOR is per participant. The CNAME is per media
stream.
> >
> > Cheers,
> > Charles
> >
> >> -----Original Message-----
> >> From: Paul Kyzivat (pkyzivat)
> >> Sent: Tuesday, March 29, 2011 2:23 PM
> >> To: Leon Portman
> >> Cc: Parthasarathi R (partr); Charles Eckel (eckelcu);
siprec@ietf.org
> >> Subject: Re: [siprec] Multiplexing different participants' streams
on
> > the same port
> >>
> >>
> >>
> >> On 3/29/2011 7:21 AM, Leon Portman wrote:
> >>> I like it.
> >>>
> >>> Quick question. In metadata we are using "<aor>" attribute but in
> > SDP, it is "CNAME"? Can we use the
> >> same?
> >>
> >> Charles knows more than I about RTP. AFAIK CNAME is an essentially
> >> arbitrary string that is assigned by the media source. (Are their
> >> constraints on its length or format?) Perhaps it could be formatted
as
> > a
> >> sip AOR, perhaps not. Even if it *could*, in practice *will* it be?
> > ISTM
> >> it would not be wise to count on these being the same.
> >>
> >> We should probably allow participants to specify their cname as
well
> > as
> >> their AOR. This may get complicated if the same participant ends up
> > with
> >> differing media streams it sends.
> >>
> >> I also wonder if the SRC will always know the CNAMEs of the
streams. I
> >> suspect we can't count on that.
> >>
> >> 	Thanks,
> >> 	Paul
> >>
> >>> Leon
> >>>
> >>>
> >>>
> >>> -----Original Message-----
> >>> From: siprec-bounces@ietf.org [mailto:siprec-bounces@ietf.org] On
> > Behalf Of Parthasarathi R (partr)
> >>> Sent: Monday, March 28, 2011 10:42 AM
> >>> To: Charles Eckel (eckelcu); Paul Kyzivat (pkyzivat);
> > siprec@ietf.org
> >>> Subject: Re: [siprec] Multiplexing different participants' streams
> > on the same port
> >>>
> >>> Charles,
> >>>
> >>> IMO, the current metadata model helps to address RTP MUX streams
as
> > well. In terms of model,
> >> multiple participants (P1, P2, P3) metadata block points to the
single
> > stream (S1) and stream block
> >> contains SSRC&   CSRC information. IOW, SIPREC model abstract RTP
MUX
> > stream within media stream block.
> >> Please let me know in case you feel that model does not address it.
> >>>
> >>> In case of metadata format, multiple "participant" elements have
> > send element with single stream
> >> element. The stream element has a label attribute which points to
the
> > m-line which contains "ssrc"
> >> attribute with CNAME parameter. I attached the example for your
> > reference and The example is the one
> >> of the way to represent RTP-MUX stream in the metadata format.
Please
> > let me know the issues with this
> >> format and example.
> >>>
> >>> I agree with Paul and you that we need to understand how RTP mux
> > stream will be standardized but
> >> IMO, it is not the limiting factor for SIPREC as of now.
> >>>
> >>> Thanks
> >>> Partha
> >>>
> >>> -----Original Message-----
> >>> From: siprec-bounces@ietf.org [mailto:siprec-bounces@ietf.org] On
> > Behalf Of Charles Eckel (eckelcu)
> >>> Sent: Friday, March 18, 2011 8:40 PM
> >>> To: Paul Kyzivat (pkyzivat); siprec@ietf.org
> >>> Subject: Re: [siprec] Multiplexing different participants' streams
> > on thesame port
> >>>
> >>> I agree with the comment regarding CLUE, so let me take a simpler
> > example, and audio mixer. This
> >> mixer may mix the audio from multiple participants.
> >>>
> >>> Participant 1 (P1)
> >>> Participant 2 (P2)
> >>> Participant 3 (P3)
> >>>
> >>> P1 sends audio stream with SSRC-P1
> >>> P2 sends audio stream with SSCR-P2
> >>> P2 sends audio stream with SSCR-P3
> >>>
> >>> MixerA(Ma)
> >>>
> >>> Ma sends mixed audio stream with SSRC SSRC-Ma and CSRC
> >>> SSRC-P1/SSRC-P2/SSRC-P3 as part of the CS.
> >>> The SRC sends this stream to the SRS for recording. I suspect it
> > might change the SSRC to be SSRC-
> >> SRC but maintain the CSRC information identifying P1/P2/P3.
> >>> I expect this would be modeled as a single stream with 3
> > participants P1, P2, P3. The mapping of P1
> >> to SSRC-P1 is captured in the RTCP data sent by SRC to SRS. In this
> > case, there is no need to anything
> >> in the metadata.
> >>> However, if the CSRCs are not propagated all the way to the SRS,
> > then perhaps participant info would
> >> need to be communicated via the metadata.
> >>>
> >>> Note, I do not pretend to have this all figured out; rather, I am
> > putting out some ideas to see if
> >> this gels with what others have in mind.
> >>>
> >>> Cheers,
> >>> Charles
> >>>
> >>>> -----Original Message-----
> >>>> From: siprec-bounces@ietf.org [mailto:siprec-bounces@ietf.org] On
> >>> Behalf Of Paul Kyzivat (pkyzivat)
> >>>> Sent: Friday, March 18, 2011 5:38 AM
> >>>> To: siprec@ietf.org
> >>>> Subject: Re: [siprec] Multiplexing different participants'
streams
> > on
> >>> the same port
> >>>>
> >>>> I don't know if this is a good idea or not. But if we want to
> > consider
> >>>
> >>>> it, then we should probably enter into some discussion with CLUE,
> > to
> >>> see
> >>>> if there is any commonality.
> >>>>
> >>>> Over in CLUE, this mixing of multiple streams over one RTP
session
> > has
> >>>
> >>>> been brought up because it is a technique used in existing
> > proprietary
> >>>
> >>>> products. But the CLUE wg isn't yet to a point where it is ready
to
> >>>> decide if this will be a requirement. And the AVT people have
> > strong
> >>>> opinions on what is/isn't appropriate.
> >>>>
> >>>> 	Thanks,
> >>>> 	Paul
> >>>>
> >>>> On 3/18/2011 4:11 AM, Elwell, John wrote:
> >>>>> Something Charles mentioned in another thread triggered me to
> > raise
> >>> this.
> >>>>>
> >>>>> We consider different participants in the CS as potentially
> >>> producing separate media streams that
> >>>> the SRC sends to the SRS, where the SRC can send them mixed or
> >>> unmixed.
> >>>>>
> >>>>> When sending them unmixed, up till now I think we have
considered
> >>> sending them to separate ports on
> >>>> the SRS and identifying them as separate m= lines in the SDP.
> > Another
> >>> possibility might be to
> >>>> multiplex the different streams on the same port and identify
them
> > by
> >>> different SSRC values. I am not
> >>>> sure whether this would be a correct use of SSRC, and I suspect
we
> >>> would need to check with AVTCORE.
> >>>> Recent discussions in other contexts (telepresence, RTC-Web) have
> > also
> >>> drawn my attention to such
> >>>> possibilities. See also
> >>> https://datatracker.ietf.org/doc/draft-perkins-rtcweb-rtp-usage/.
> >>>>>
> >>>>> Of course, it would mean that we would have to rethink how we
> >>> reference the different streams from
> >>>> metadata.
> >>>>>
> >>>>> I am not necessarily proposing such a change - I just want to
make
> >>> sure we have given it due
> >>>> consideration.
> >>>>>
> >>>>> John (as individual)
> >>>>>
> >>>>>
> >>>>> _______________________________________________
> >>>>> siprec mailing list
> >>>>> siprec@ietf.org
> >>>>> https://www.ietf.org/mailman/listinfo/siprec
> >>>>>
> >>>> _______________________________________________
> >>>> siprec mailing list
> >>>> siprec@ietf.org
> >>>> https://www.ietf.org/mailman/listinfo/siprec
> >>> _______________________________________________
> >>> siprec mailing list
> >>> siprec@ietf.org
> >>> https://www.ietf.org/mailman/listinfo/siprec
> >>>
> >