Re: [AVT] [Fecframe] Timestamps issue in Draft "RTP Payload format for 1-DInterleaved Parity FEC"

"Ali C. Begen (abegen)" <abegen@cisco.com> Fri, 12 September 2008 15:56 UTC

Return-Path: <avt-bounces@ietf.org>
X-Original-To: avt-archive@optimus.ietf.org
Delivered-To: ietfarch-avt-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7BB3428C15F; Fri, 12 Sep 2008 08:56:44 -0700 (PDT)
X-Original-To: avt@core3.amsl.com
Delivered-To: avt@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 142903A6952; Fri, 12 Sep 2008 08:56:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level:
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
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 BrTY2AjOEwnq; Fri, 12 Sep 2008 08:56:37 -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 70A483A6BC0; Fri, 12 Sep 2008 08:56:37 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.32,390,1217808000"; d="scan'208";a="154350689"
Received: from sj-dkim-3.cisco.com ([171.71.179.195]) by sj-iport-6.cisco.com with ESMTP; 12 Sep 2008 15:56:45 +0000
Received: from sj-core-2.cisco.com (sj-core-2.cisco.com [171.71.177.254]) by sj-dkim-3.cisco.com (8.12.11/8.12.11) with ESMTP id m8CFuj9l007379; Fri, 12 Sep 2008 08:56:45 -0700
Received: from xbh-sjc-211.amer.cisco.com (xbh-sjc-211.cisco.com [171.70.151.144]) by sj-core-2.cisco.com (8.13.8/8.13.8) with ESMTP id m8CFujMX009385; Fri, 12 Sep 2008 15:56:45 GMT
Received: from xmb-sjc-215.amer.cisco.com ([171.70.151.169]) by xbh-sjc-211.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 12 Sep 2008 08:56:45 -0700
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Date: Fri, 12 Sep 2008 08:56:43 -0700
Message-ID: <04CAD96D4C5A3D48B1919248A8FE0D5407C0A1C6@xmb-sjc-215.amer.cisco.com>
In-Reply-To: <48CA2BBB.6030009@ericsson.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: [Fecframe] Timestamps issue in Draft "RTP Payload format for 1-DInterleaved Parity FEC"
thread-index: AckUs7x+FK2u6oMmT3G1cZnqCinprwAO3YHw
References: <0415461A7AF6488CB18892EDCF904ABE@dorvalmatrox.matrox.com> <04CAD96D4C5A3D48B1919248A8FE0D5407C0A0A5@xmb-sjc-215.amer.cisco.com> <48CA2BBB.6030009@ericsson.com>
From: "Ali C. Begen (abegen)" <abegen@cisco.com>
To: Magnus Westerlund <magnus.westerlund@ericsson.com>
X-OriginalArrivalTime: 12 Sep 2008 15:56:45.0082 (UTC) FILETIME=[27E55FA0:01C914F0]
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=4907; t=1221235005; x=1222099005; c=relaxed/simple; s=sjdkim3002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=abegen@cisco.com; z=From:=20=22Ali=20C.=20Begen=20(abegen)=22=20<abegen@cisco. com> |Subject:=20RE=3A=20[Fecframe]=20Timestamps=20issue=20in=20 Draft=20=22RTP=20Payload=20format=20for=201-DInterleaved=20P arity=20FEC=22 |Sender:=20; bh=clHLYdd8H0HO5uKKQnTSiXaoiz+pAky4G0zGtON9zOs=; b=CoMSYNj/SbUthZRpMpD/c2nj6VmRdxWY6ora04Ao75oNZ4PLTdGGt77zz2 0G3KQPDrzyaXYgC/TO8F62D4OeJFAFtxdXD+UQxGRrUQI6gR03+zqr/jQRIO jFYuRzvdfO;
Authentication-Results: sj-dkim-3; header.From=abegen@cisco.com; dkim=pass ( sig from cisco.com/sjdkim3002 verified; );
Cc: Guy Bonneau <gbonneau@matrox.com>, IETF AVT WG <avt@ietf.org>, fecframe@ietf.org
Subject: Re: [AVT] [Fecframe] Timestamps issue in Draft "RTP Payload format for 1-DInterleaved Parity FEC"
X-BeenThere: avt@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Audio/Video Transport Working Group <avt.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/avt>, <mailto:avt-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/pipermail/avt>
List-Post: <mailto:avt@ietf.org>
List-Help: <mailto:avt-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/avt>, <mailto:avt-request@ietf.org?subject=subscribe>
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Sender: avt-bounces@ietf.org
Errors-To: avt-bounces@ietf.org

Hi Magnus,

Comments are inline. 

> -----Original Message-----
> From: Magnus Westerlund [mailto:magnus.westerlund@ericsson.com] 
> Sent: Friday, September 12, 2008 11:44 AM
> To: Ali C. Begen (abegen)
> Cc: Guy Bonneau; fecframe@ietf.org; IETF AVT WG
> Subject: Re: [Fecframe] Timestamps issue in Draft "RTP 
> Payload format for 1-DInterleaved Parity FEC"
> 
> Ali C. Begen (abegen) skrev:
> > You are correct. Note that the 1-D draft is adopting SMPTE 
> 2022-1 spec 
> > and fixing the RTP issues with it. The SMPTE spec does not use the 
> > timestamp field at all (receivers ignore it and what the 
> sender puts 
> > in that field is undefined). In our draft, we use it and 
> set it as you 
> > described below.
> > 
> > The motivation for this change from 2733 is that the clock at the 
> > instant the fec packet is transmitted is not a very useful 
> information.
> > It does not help in FEC decoding process, either. 
> Furthermore, unlike 
> > the source RTP packets, FEC packets don't have a 
> synchronization issue.
> > So their transmission time is not very critical (as long as they 
> > arrive on time for FEC decoding).
> > 
> > Instead, during our discussions, we decided to set it 
> differently. Of 
> > course, FEC packets identify which source packets they 
> protect (based 
> > on the SN base, L, D). However, if the FEC packet is 
> received earlier 
> > than the source packets it protects (might be the case), by 
> checking 
> > the timestamp field, we can now know the timestamp of the earliest 
> > source packet that is protected by this packet (in addition 
> to its seqnum).
> > This is a useful information. Or, if that earliest source 
> packet won't 
> > arrive (i.e., it is lost), we will know by when we have to 
> recover it.
>  >
> > OTOH, if the source packets are received earlier than the 
> FEC packet, 
> > the timestamp info would not be that useful.
> > 
> > We can think of it as follows as well: The FEC packet has some 
> > information from that earliest source packet. That source 
> packet was 
> > sampled at time say, t, so, it makes sense to put the value of t in 
> > the timestamp field of the fec packet.
> > 
> > (RFC 3550 says that "The timestamp reflects the sampling instant of 
> > the first octet in the RTP data packet.")
> 
> The problem with this definition is that you are completely 
> screwing up the RTCP jitter calculation. Sure, RTCP jitter 
> calculations are screwed up by some other RTP payload 
> formats, like video with multiple packets for the same frame. 

We are not touching the jitter measurement for the source packets. But, yes, our setting will disable the jitter measurement for the FEC packets.

> However, there is a trade-off here. I am not certain that the 
> timestamp of the source packet are that useful as you anyway 
> have an explicit reference to the packets you will need. If 
> the SN base packet hasn't arrived, then the repair packet is 
> early. Not particular likely unless strange transport 
> reordering mechanisms are in place. If as you say the repair 
> packet arrives after SN base source packet, then you can look 
> up the corresponding timestamp.

Agree.
 
> So in this case, I don't see how loseing the possibility use 
> the RTCP jitter for something useful on the FEC stream is 
> motivated. And if the FEC stream jitter measurements works 
> decently, then they can be used to cover for source streams 
> that aren't able to utilize the jitter measurement.

I don't think jitter measurements based on the FEC packets could be effectively used for estimating the jitter for the source packets. There are several different sending arrangements adopted for sending the FEC packets that will mess up the measurements anyway. Furthermore, the repair packets might be sent over a different network, qos class, etc.

But, why do you need something like this in the first place? We can measure the jitter in the source stream itself.

> I think we should include AVT in RTP related discussions. I 
> also need to add this bit of information to the RTP payload how to.

Agree. Thanks for the note.

-acbegen

> Cheers
> 
> Magnus Westerlund
> 
> IETF Transport Area Director & TSVWG Chair
> ----------------------------------------------------------------------
> Multimedia Technologies, Ericsson Research EAB/TVM
> ----------------------------------------------------------------------
> Ericsson AB                | Phone +46 8 4048287
> Färögatan 6                | Fax   +46 8 7575550
> S-164 80 Stockholm, Sweden | mailto: magnus.westerlund@ericsson.com
> ----------------------------------------------------------------------
> 
_______________________________________________
Audio/Video Transport Working Group
avt@ietf.org
https://www.ietf.org/mailman/listinfo/avt