Re: [AVT] accepting draft-lakaniemi-avt-rtp-evbr-02 as WG item

"Jonathan Lennox" <jonathan@vidyo.com> Wed, 03 September 2008 21:36 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 B6C193A6CA1; Wed, 3 Sep 2008 14:36:34 -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 212003A6B6C for <avt@core3.amsl.com>; Wed, 3 Sep 2008 14:36:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.215
X-Spam-Level:
X-Spam-Status: No, score=-2.215 tagged_above=-999 required=5 tests=[AWL=0.050, BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
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 iw55ltV8jW-z for <avt@core3.amsl.com>; Wed, 3 Sep 2008 14:36:32 -0700 (PDT)
Received: from mX1.myoutlookonlIne.com (mx1.myoutlookonline.com [69.25.74.47]) by core3.amsl.com (Postfix) with ESMTP id 97D593A6D0E for <avt@ietf.org>; Wed, 3 Sep 2008 14:36:10 -0700 (PDT)
Received: from be150.mail.lan ([10.109.208.150]) by mX1.myoutlookonlIne.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 3 Sep 2008 17:36:17 -0400
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Date: Wed, 03 Sep 2008 17:30:46 -0400
Message-ID: <6B55710E7F51AD4B93F336052113B85F3D33F0@be150.mail.lan>
In-Reply-To: <389E0F24-4D11-4324-BFE0-893A11A53722@csperkins.org>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: [AVT] accepting draft-lakaniemi-avt-rtp-evbr-02 as WG item
Thread-Index: AckNlW9Ck3lBk1dJRKyogLHP6vY0mAAIna+Q
References: <48b081ea.01b7660a.391e.ffffd15d@mx.google.com> <23F7C403-DE24-44A1-BDC7-DA8CCDD381B6@csperkins.org> <44C96BEE548AC8429828A37623150347F36820@vaebe101.NOE.Nokia.com> <9EA8709C-26BF-451C-A7F6-5AA89F382524@csperkins.org> <44C96BEE548AC8429828A37623150347F36CBE@vaebe101.NOE.Nokia.com> <E9568156-E394-4644-BA0C-D38840740076@csperkins.org> <44C96BEE548AC8429828A37623150347F36EB4@vaebe101.NOE.Nokia.com> <7C74ABD7-567D-489F-A264-D1B9C1D082D8@csperkins.org> <44C96BEE548AC8429828A37623150347F36F61@vaebe101.NOE.Nokia.com> <3AD980DD-D2C0-4FED-8CBC-8B1116895980@csperkins.org> <48BD291C.8020007@iis.fraunhofer.de> <7AE6CF30-7DBA-4A49-AF56-CF8EC4AC03F1@csperkins.org> <6B55710E7F51AD4B93F336052113B85F3D3393@be150.mail.lan> <389E0F24-4D11-4324-BFE0-893A11A53722@csperkins.org>
From: Jonathan Lennox <jonathan@vidyo.com>
To: Colin Perkins <csp@csperkins.org>
X-OriginalArrivalTime: 03 Sep 2008 21:36:17.0382 (UTC) FILETIME=[1903E860:01C90E0D]
Cc: thomas.schierl@hhi.fraunhofer.de, avt@ietf.org, Ye-Kui.Wang@nokia.com
Subject: Re: [AVT] accepting draft-lakaniemi-avt-rtp-evbr-02 as WG item
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="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: avt-bounces@ietf.org
Errors-To: avt-bounces@ietf.org

Colin Perkins writes:
> > If you're sending live (as opposed to pre-recorded) media, clock
> > drift between the media clock (generating RTP timestamps) and the
> > system time-of-day clock (generating NTP timestamps) can make
> > sample-accurate stream alignment based on RTCP SRs extremely
> > problematic, especially as RTCP report intervals lengthen.
> >
> > Specifically, assuming each RTCP SR's NTP and RTP times accurately
> > represent the time-of-day and sample-clock measurements
> > (respectively) at SR transmission time, and SR transmission time is
> > randomized independently for each RTCP session,
> > max_sample_misalignment = max_rtcp_interval * abs(actual_clock_rate
> > - nominal_clock_rate)/nominal_clock_rate.
> 
> I'm not sure this expression is valid, since I'd expect the receiver
> to estimate the clock skew based on observing several SR's, and
> compensate for it.

I think this may be the disconnect we're seeing here.  It's fine for synchronization for lip sync to be estimated approximately sometime shortly after session startup, and slowly converge to greater precision over time as you receive more SRs.  Lip sync also degrades gracefully if the encoder's clocks are inaccurate or imprecise.

Layered codecs, by contrast, are *not decodable* until you've established the timing relationship between the layers, unless you use codec-specific in-band methods such as SVC's NI-C or I-C which avoid the use of timing information entirely.  Otherwise, if your receiver mis-calculates a timing relationship between streams you end up with garbage output from your decoder.

I think that for layered codecs, the requirements (100% accurate clock synchronization prior to any decoding) and the domain constraints (a single common media clock, as I argued in my previous e-mail) are sufficiently different from those of lip sync that it's not unreasonable to have a specific solution to the problem, rather than trying to re-use a solution to a different problem which has different requirements and constraints.
	
-- 
Jonathan Lennox
Vidyo, Inc
jonathan@vidyo.com

_______________________________________________
Audio/Video Transport Working Group
avt@ietf.org
https://www.ietf.org/mailman/listinfo/avt