Re: [AVTCORE] Leap seconds
Kevin Gross <kevin.gross@avanw.com> Thu, 15 September 2011 00:45 UTC
Return-Path: <kevin.gross@avanw.com>
X-Original-To: avt@ietfa.amsl.com
Delivered-To: avt@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EE91B21F854E for <avt@ietfa.amsl.com>; Wed, 14 Sep 2011 17:45:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.328
X-Spam-Level:
X-Spam-Status: No, score=0.328 tagged_above=-999 required=5 tests=[AWL=0.200, BAYES_00=-2.599, FH_RELAY_NODNS=1.451, FM_FORGED_GMAIL=0.622, HELO_MISMATCH_COM=0.553, HTML_MESSAGE=0.001, RDNS_NONE=0.1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Eu0Cu9dSw2q2 for <avt@ietfa.amsl.com>; Wed, 14 Sep 2011 17:45:15 -0700 (PDT)
Received: from oproxy7-pub.bluehost.com (oproxy7.bluehost.com [IPv6:2605:dc00:100:2::a7]) by ietfa.amsl.com (Postfix) with SMTP id 39DDE21F84B5 for <avt@ietf.org>; Wed, 14 Sep 2011 17:45:15 -0700 (PDT)
Received: (qmail 22473 invoked by uid 0); 15 Sep 2011 00:47:25 -0000
Received: from unknown (HELO host291.hostmonster.com) (74.220.215.91) by oproxy7.bluehost.com with SMTP; 15 Sep 2011 00:47:25 -0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=avanw.com; s=default; h=Content-Type:Cc:To:From:Subject:Message-ID:Date:References:In-Reply-To:MIME-Version; bh=fezfkCjD/fCnbBkJ35wdW5x7vbc9pMI09kBOs1nv0aA=; b=CLb7Aozs2nia5QfM4zm4En6VMkSBC3tTfa6PbwEt6lmB6LZXohBRNlWXeOwQ8JEeVV7ZM4BaMvAzUy5LzHi/dIRSnrgKmCSYdbJ08v8Bf1CKKu3Fu2/gNhRJejI7Wlsa;
Received: from mail-fx0-f44.google.com ([209.85.161.44]) by host291.hostmonster.com with esmtpsa (TLSv1:RC4-SHA:128) (Exim 4.76) (envelope-from <kevin.gross@avanw.com>) id 1R406v-0002pq-6g for avt@ietf.org; Wed, 14 Sep 2011 18:47:25 -0600
Received: by fxd18 with SMTP id 18so124225fxd.31 for <avt@ietf.org>; Wed, 14 Sep 2011 17:47:23 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.33.10 with SMTP id f10mr499961fad.121.1316047643707; Wed, 14 Sep 2011 17:47:23 -0700 (PDT)
Received: by 10.223.93.202 with HTTP; Wed, 14 Sep 2011 17:47:23 -0700 (PDT)
In-Reply-To: <8EF3B729-407D-4A6F-9B5C-9E6833F2478B@apple.com>
References: <CALw1_Q0qK1WDc_KjEneOWrqr+jfVsqdwFYpF=ht-tS4SSNp8nQ@mail.gmail.com> <71C9EC0544D1F64D8B7D91EDCC6220200A2D0340@NABSREX027324.NAB.ORG> <alpine.BSF.2.00.1109141110001.25117@hsa.packetdesign.com> <CALw1_Q2L5z1bdVaENm7ky-epWjmxD326FLQ7THrObO_KMfdXfw@mail.gmail.com> <78481CCB-7A70-4BC4-91DC-A707301F22A5@apple.com> <CALw1_Q2VFe3d52ufVp2wSeNCHiwqgnhLh39dQTWYa52jWLaV+g@mail.gmail.com> <8EF3B729-407D-4A6F-9B5C-9E6833F2478B@apple.com>
Date: Wed, 14 Sep 2011 18:47:23 -0600
Message-ID: <CALw1_Q05fXDmTFapSaH1NRCsp2eWdemNus40gXsFwsx4HbR34Q@mail.gmail.com>
From: Kevin Gross <kevin.gross@avanw.com>
To: David Singer <singer@apple.com>
Content-Type: multipart/alternative; boundary="0015174484784f8ace04acf03879"
X-Identified-User: {1416:host291.hostmonster.com:avanwcom:avanw.com} {sentby:smtp auth 209.85.161.44 authed with kevin.gross@avanw.com}
Cc: Stephen Casner <casner@acm.org>, "Allison, Art" <AAllison@nab.org>, avt@ietf.org
Subject: Re: [AVTCORE] Leap seconds
X-BeenThere: avt@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Audio/Video Transport Core Maintenance <avt.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/avt>, <mailto:avt-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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>
X-List-Received-Date: Thu, 15 Sep 2011 00:45:16 -0000
As is hinted there, UTC as a timebase can be made to work but it is tricky and deserves to be documented. Senders and receivers especially need to be aware of leap seconds when mapping wallclock to the media clock. This requires a level of integration between the NTP agent and the media player. Receivers that are unaware of leap seconds will slew a second ahead of others when there's a leap second while streams are running. This is is likely to result in ongoing buffer underruns at the receiver until the stream is restarted. Alternatively applications can agree (through SDP?) to use a TAI timebase (e.g. IEEE 1588) and avoid the complexity and potential implementation errors leap seconds introduce. This all only applies to receivers that use NTP to determine playout time. Most RTP receivers now use local data arrival time to determine playout time. The IDMS proposal ( https://datatracker.ietf.org/doc/draft-brandenburg-avt-rtcp-for-idms/) relies on NTP timestamps. It would seem to be necessary to address the leap second issue as part of the IDMS project. Kevin On Wed, Sep 14, 2011 at 4:18 PM, David Singer <singer@apple.com> wrote: > OK, I am not an expert, but 1305 does say: > > The insertion of leap seconds in UTC and subsequently > into NTP does not affect the UTC or NTP oscillator, only the conversion > to conventional civil UTC time. > > > > On Sep 14, 2011, at 12:54 , Kevin Gross wrote: > > RFC 5905 indicates that the 64-bit NTP timestamps used by the NTP protocol > are a bit more complex than that. Specifically, these NTP timestamps have > discontinuities around leap seconds. RFC 3550 does not spell it out exactly > but I assume the 64-bit NTP timestamp in the RTCP sender report sould behave > according to the definition in RFC 5905. > > Kevin > >
- [AVTCORE] Leap seconds Kevin Gross
- Re: [AVTCORE] Leap seconds Allison, Art
- Re: [AVTCORE] Leap seconds Kevin Gross
- Re: [AVTCORE] Leap seconds Stephen Casner
- Re: [AVTCORE] Leap seconds Kevin Gross
- Re: [AVTCORE] Leap seconds Marshall Eubanks
- Re: [AVTCORE] Leap seconds Stephen Casner
- Re: [AVTCORE] Leap seconds Jamie Gordon
- Re: [AVTCORE] Leap seconds David Singer
- Re: [AVTCORE] Leap seconds Kevin Gross
- Re: [AVTCORE] Leap seconds Kevin Gross
- Re: [AVTCORE] Leap seconds Kevin Gross
- Re: [AVTCORE] Leap seconds David Singer
- Re: [AVTCORE] Leap seconds Kevin Gross
- Re: [AVTCORE] Leap seconds David Singer
- Re: [AVTCORE] Leap seconds Magnus Westerlund
- Re: [AVTCORE] Leap seconds Kevin Gross
- Re: [AVTCORE] Leap seconds Marshall Eubanks
- Re: [AVTCORE] Leap seconds Qin Wu
- Re: [AVTCORE] Leap seconds David Singer
- Re: [AVTCORE] Leap seconds Kevin Gross
- Re: [AVTCORE] Leap seconds Kevin Gross
- Re: [AVTCORE] Leap seconds Magnus Westerlund
- Re: [AVTCORE] Leap seconds Kevin Gross
- Re: [AVTCORE] Leap seconds Colin Perkins
- Re: [AVTCORE] Leap seconds Kevin Gross
- Re: [AVTCORE] Leap seconds Kevin Gross
- Re: [AVTCORE] Leap seconds Qin Wu
- Re: [AVTCORE] Leap seconds David Singer
- Re: [AVTCORE] Leap seconds Marshall Eubanks
- Re: [AVTCORE] Leap seconds Colin Perkins
- Re: [AVTCORE] Leap seconds Marshall Eubanks
- Re: [AVTCORE] Leap seconds Marshall Eubanks
- Re: [AVTCORE] Leap seconds David Singer
- Re: [AVTCORE] Leap seconds Qin Wu
- Re: [AVTCORE] Leap seconds Frederick, Ron