Re: [siprec] CS Codec Parameter in stream XML element [was RE: Review Request for draft-ram-siprec-metadata-format-01]

"Elwell, John" <john.elwell@siemens-enterprise.com> Thu, 17 March 2011 10:12 UTC

Return-Path: <john.elwell@siemens-enterprise.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 3D5BF3A6869 for <siprec@core3.amsl.com>; Thu, 17 Mar 2011 03:12:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.596
X-Spam-Level:
X-Spam-Status: No, score=-102.596 tagged_above=-999 required=5 tests=[AWL=0.003, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
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 BgZ+uZPlQjYd for <siprec@core3.amsl.com>; Thu, 17 Mar 2011 03:12:27 -0700 (PDT)
Received: from ms01.m0019.fra.mmp.de.bt.com (m0019.fra.mmp.de.bt.com [62.180.227.30]) by core3.amsl.com (Postfix) with ESMTP id 230E43A6839 for <siprec@ietf.org>; Thu, 17 Mar 2011 03:12:26 -0700 (PDT)
Received: from senmx12-mx ([62.134.46.10] [62.134.46.10]) by ms01.m0020.fra.mmp.de.bt.com with ESMTP id BT-MMP-3777709; Thu, 17 Mar 2011 11:13:41 +0100
Received: from MCHP063A.global-ad.net (unknown [172.29.37.61]) by senmx12-mx (Server) with ESMTP id D181523F0290; Thu, 17 Mar 2011 11:13:41 +0100 (CET)
Received: from MCHP058A.global-ad.net ([172.29.37.55]) by MCHP063A.global-ad.net ([172.29.37.61]) with mapi; Thu, 17 Mar 2011 11:13:41 +0100
From: "Elwell, John" <john.elwell@siemens-enterprise.com>
To: Leon Portman <Leon.Portman@nice.com>, "Ram Mohan R (rmohanr)" <rmohanr@cisco.com>, "Paul Kyzivat (pkyzivat)" <pkyzivat@cisco.com>
Date: Thu, 17 Mar 2011 11:13:40 +0100
Thread-Topic: [siprec] CS Codec Parameter in stream XML element [was RE: Review Request for draft-ram-siprec-metadata-format-01]
Thread-Index: Acvj3snlsxhEMaLcQ0q1pHz03nfU7wAEZWXgACAtC6AAAEl4UAAAK/fQAAC1cUAABTHCIA==
Message-ID: <A444A0F8084434499206E78C106220CA086A9649F5@MCHP058A.global-ad.net>
References: <A11921905DA1564D9BCF64A6430A623904B1E134@XMB-BGL-411.cisco.com><A444A0F8084434499206E78C106220CA086A89AD0A@MCHP058A.global-ad.net><4D7A6898.1060809@cisco.com><A444A0F8084434499206E78C106220CA086A89B579@MCHP058A.global-ad.net><4D7F636F.5060105@cisco.com><A444A0F8084434499206E78C106220CA086A89B6E7@MCHP058A.global-ad.net><A11921905DA1564D9BCF64A6430A62390293A6AA@XMB-BGL-411.cisco.com><A444A0F8084434499206E78C106220CA086A964472@MCHP058A.global-ad.net><4D80BC11.206@cisco.com> <07465C1D981ABC41A344374066AE1A2C38A94915C9@TLVMBX01.nice.com> <35BCE99A477D6A4986FB2216D8CF2CFD05B8B54F@XMB-BGL-417.cisco.com> <07465C1D981ABC41A344374066AE1A2C38A9491700@TLVMBX01.nice.com> <35BCE99A477D6A4986FB2216D8CF2CFD05B8B569@XMB-BGL-417.cisco.com> <07465C1D981ABC41A344374066AE1A2C38A9491733@TLVMBX01.nice.com>
In-Reply-To: <07465C1D981ABC41A344374066AE1A2C38A9491733@TLVMBX01.nice.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: "siprec@ietf.org" <siprec@ietf.org>
Subject: Re: [siprec] CS Codec Parameter in stream XML element [was RE: Review Request for draft-ram-siprec-metadata-format-01]
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: Thu, 17 Mar 2011 10:12:29 -0000

I think in these sort of situations it would be better to report the non-recorded video stream in XML metadata. If the SRC uses an m-line with port=0 to indicate start of an unrecordable video stream, I don't see how the SRC can report the end of that unrecordable video stream in SDP. XML seems a better option.

Let me make a proposal. For each Media Stream in XML, attributes should indicate:
- The type of medium (audio, video,...).
- The content type of the medium (c.f., RFC 4796) if applicable, e.g., slides, speaker...
- The SDP label for that medium (absent if the SRC does not offer it for recording).

Yes, I know the first two items would be duplication of SDP (in cases where the medium is offered for recording), but these two items would be particularly useful in cases where the medium is not offered for recording and therefore not in the SDP.

John (as individual)

> -----Original Message-----
> From: Leon Portman [mailto:Leon.Portman@nice.com] 
> Sent: 17 March 2011 07:36
> To: Ram Mohan R (rmohanr); Paul Kyzivat (pkyzivat); Elwell, John
> Cc: siprec@ietf.org
> Subject: RE: [siprec] CS Codec Parameter in stream XML 
> element [was RE: Review Request for 
> draft-ram-siprec-metadata-format-01]
> 
> Regarding information, most basic one is when video started and ended.
> 
> What about the configuration where SRC knows about video 
> (because it is inside CS SIP session) but is not able to fork 
> video. Is it still should offer video m-line?
> 
> Leon
> 
> -----Original Message-----
> From: Ram Mohan R (rmohanr) [mailto:rmohanr@cisco.com] 
> Sent: Thursday, March 17, 2011 9:26 AM
> To: Leon Portman; Paul Kyzivat (pkyzivat); Elwell, John
> Cc: siprec@ietf.org
> Subject: RE: [siprec] CS Codec Parameter in stream XML 
> element [was RE: Review Request for 
> draft-ram-siprec-metadata-format-01]
> 
> Inline 
> 
> > -----Original Message-----
> > From: Leon Portman [mailto:Leon.Portman@nice.com]
> > Sent: Thursday, March 17, 2011 12:43 PM
> > To: Ram Mohan R (rmohanr); Paul Kyzivat (pkyzivat); Elwell, John
> > Cc: siprec@ietf.org
> > Subject: RE: [siprec] CS Codec Parameter in stream XML element [was
> RE:
> > Review Request for draft-ram-siprec-metadata-format-01]
> > 
> > Hi
> > 
> > I agree that if SRS need something from SDP it will be 
> better to pass 
> > it via metadata extensions. I did some additional checks 
> and currently 
> > there is no such requirement from SRS point of view.
> > Regarding video, there was requirement to report video 
> session even if 
> > it is not recorded.  And if it is recorded then all relevant 
> > information will be reported via RS SDP such as positions, 
> sizes etc.
> 
> For cases where Video is not recorded, there are two possibilities:
> 1) Video is offered by SRC in RS SDP to SRS but SRS choose to 
> reject video. In this case SRC can still continue to send 
> updates via RS SDP to SRS. 
> 
> 2) SRC may not have capability to record video and may not 
> offer video to SRS in RS SDP.  In this case also we can send 
> a offer (m=0) from SRC to SRS having video information.
> 
>  My question here is - what information do we see a need to 
> report ? Is it just the information that video is part of CS 
> or more than that ?
> 
> Ram
> 
> > 
> > Leon
> > 
> > -----Original Message-----
> > From: Ram Mohan R (rmohanr) [mailto:rmohanr@cisco.com]
> > Sent: Thursday, March 17, 2011 9:06 AM
> > To: Leon Portman; Paul Kyzivat (pkyzivat); Elwell, John
> > Cc: siprec@ietf.org
> > Subject: RE: [siprec] CS Codec Parameter in stream XML element [was
> RE:
> > Review Request for draft-ram-siprec-metadata-format-01]
> > 
> > Hi Leon / All,
> > 
> > See inline for my comments
> > 
> > > -----Original Message-----
> > > From: siprec-bounces@ietf.org [mailto:siprec-bounces@ietf.org] On 
> > > Behalf Of Leon Portman
> > > Sent: Wednesday, March 16, 2011 9:16 PM
> > > To: Paul Kyzivat (pkyzivat); Elwell, John
> > > Cc: siprec@ietf.org
> > > Subject: Re: [siprec] CS Codec Parameter in stream XML 
> element [was
> > RE:
> > > Review Request for draft-ram-siprec-metadata-format-01]
> > >
> > > I agree with points below that passing actual CS SDP to 
> SRS is a not 
> > > good idea from security and layers separation point of view.
> > > Today's SRS implementations(at least that I know about) 
> do not keep 
> > > original codec information in the database for later 
> retrieval. I am 
> > > trying to think about use cases why SRS can be interested in one,
> and
> > > except troubleshooting it is not very relevant.
> > >
> > > The main assumption is that SRC inspected CS SDP and 
> extracted all 
> > > relevant information like ip addresses, media line labels 
> and infos
> > and
> > > reported it to SRS via metadata.
> > 
> > Are you still suggesting here that we pass across some of the 
> > parameters of CS SDP that you mentioned above to SRS via metadata ?
> Are
> > there any applications at SRS which may require this information ?
> > 
> > I vaguely remember during IETF 79 presentation that some 
> folks (mainly 
> > from video perspective) were asking for part of information 
> related to 
> > CS SDP to be passed in metadata. But not too sure about the 
> use cases 
> > for the same.
> > I would request people on the mailer list to speak up if 
> there are any 
> > use cases.
> > 
> > 
> > IMO if there is only some specific SRS applications that need this, 
> > it's better to pass it as extension data rather than having it as 
> > attribute of MS block in the metadata.
> > 
> > 
> > Regards,
> > Ram
> > 
> > >
> > > The main reason as I see if we want to be able to report 
> CS SDP via 
> > > metadata is for the case where SRS wants to sniff RS RTP packets 
> > > directly and not by forking from SRC but it is out of scope.
> > >
> > > Leon
> > >
> > > -----Original Message-----
> > > From: siprec-bounces@ietf.org [mailto:siprec-bounces@ietf.org] On 
> > > Behalf Of Paul Kyzivat
> > > Sent: Wednesday, March 16, 2011 3:33 PM
> > > To: Elwell, John
> > > Cc: siprec@ietf.org
> > > Subject: Re: [siprec] CS Codec Parameter in stream XML 
> element [was
> > RE:
> > > Review Request for draft-ram-siprec-metadata-format-01]
> > >
> > > I believe the codec parameters on the MS have been there since my
> > first
> > > cut at the metadata model. Putting them there was just speculation
> on
> > > my part, and doesn't imply any actual need known to me.
> > >
> > > If nobody feels they are necessary, then by all means remove them.
> > >
> > > 	Thanks,
> > > 	Paul
> > >
> > > On 3/16/2011 3:34 AM, Elwell, John wrote:
> > > >
> > > >
> > > >> -----Original Message-----
> > > >> From: Parthasarathi R (partr) [mailto:partr@cisco.com]
> > > >> Sent: 16 March 2011 01:25
> > > >> To: Elwell, John; Paul Kyzivat (pkyzivat)
> > > >> Cc: siprec@ietf.org
> > > >> Subject: CS Codec Parameter in stream XML element [was RE:
> > > >> [siprec] Review Request for 
> draft-ram-siprec-metadata-format-01]
> > > >>
> > > > <snip/>
> > > >> <Partha>  It is the assumption done during metadata format that
> RS
> > > >> SDP may be used as Codec params for stream. Please note that
> > format
> > > >> draft does not have codec param in stream metadata element. But
> > the
> > > >> assumption does not seems to be working for all 
> scenarios. So we
> > > need
> > > >> to find the way to represent CS Media stream in 
> metadata format.
> > > >>
> > > >> Even before going into approach, I'm interested in knowing
> whether
> > > it
> > > >> is required for SRS to understand the exact codec or SDP
> parameter
> > > >> used in CS? RS may be transcoded/transrated and lost the actual
> > > media
> > > >> information when it reaches SRS but the question is 
> whether it is 
> > > >> required to maintain the metadata in SRS even though 
> media (RTP)
> > is
> > > >> changed to new format ?
> > > >>
> > > >> In case we decide to pass CS codec parameter to SRS. Two
> > approaches
> > > >> exist to solve this issue:
> > > >>
> > > >> 1) Tunnel complete each participant SDP inside stream element
> > using
> > > >> some new optional XML element. This approach is straightforward
> > and
> > > >> scale for any CS as we are sending the complete set. 
> The overhead 
> > > >> will be increased in SRS to parse and store appropriately.
> > > >>
> > > >> 2) Identify the list of codec parameters *MUST*  be passed from
> > SRC
> > > >> to SRS and create the new XML element for them. This 
> is simple to 
> > > >> implement as only portion of the SDP is passed across but *may*
> > have
> > > >> scalability issue.
> > > >>
> > > >> I prefer 1st approach because it covers all scenarios. I'm
> > > interested
> > > >> in hearing from you which way to go.
> > > >>
> > > >> </partha>
> > > > [JRE] I was basing my earlier comment on the fact that the
> metadata
> > > model seems to indicate that the Media Stream object has CS codec 
> > > parameters as an attribute. This is indeed questionable. 
> I seem to 
> > > remember somebody wanting this at some stage in the past. From my
> > point
> > > of view, I don't think this information is needed by the 
> SRS - it is 
> > > historic information, nothing to do with the media 
> actually sent to
> > the
> > > SRS, and of no use to the SRS, in my opinion.
> > > >
> > > > If people do think there is a reason for providing this
> information
> > > to the SRS, I don't think I would favour approach 1) 
> above. The SDP 
> > > could potentially contain all sorts of information other 
> than codecs 
> > > (codecs are only a small part, and the SDP will contain 
> information 
> > > like IP addresses, ports, security keys!!!, transport, 
> non-recorded 
> > > media descriptions (e.g., MSRP channel, BFCP channel), format 
> > > parameters, SDP capability negotiation attributes, etc..
> > > >
> > > > Moreover, the offerer and answerer might have agreed several
> codecs
> > > in the SDP, so you need to look at RTP to see which codec is
> actually
> > > used. This can change on the fly.
> > > >
> > > > Finally, although the SRS's SIP/SDP stack will surely 
> have and SDP
> > > parser, the XML metadata is intended for passing to an 
> application.
> > > Requiring that application to contain an SDP parser is, I think, 
> > > unreasonable.
> > > >
> > > > So I have doubts as to whether it is really feasible to 
> provide CS
> > > codec information in metadata to the SRS in a meaningful way,
> whether
> > > this be using approach 1) or approach 2), but I 
> particularly dislike 
> > > approach 1).
> > > >
> > > > 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
>