Re: [AVTCORE] Leap seconds
Kevin Gross <kevin.gross@avanw.com> Wed, 14 September 2011 19:44 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 DFF0E21F8C08 for <avt@ietfa.amsl.com>; Wed, 14 Sep 2011 12:44:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.478
X-Spam-Level:
X-Spam-Status: No, score=0.478 tagged_above=-999 required=5 tests=[AWL=0.350, 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 txCVHXA8eDul for <avt@ietfa.amsl.com>; Wed, 14 Sep 2011 12:44:23 -0700 (PDT)
Received: from oproxy5-pub.bluehost.com (oproxy5.bluehost.com [IPv6:2605:dc00:100:2::a5]) by ietfa.amsl.com (Postfix) with SMTP id AABB321F8B84 for <avt@ietf.org>; Wed, 14 Sep 2011 12:44:23 -0700 (PDT)
Received: (qmail 23199 invoked by uid 0); 14 Sep 2011 19:46:30 -0000
Received: from unknown (HELO host291.hostmonster.com) (74.220.215.91) by cpoproxy2.bluehost.com with SMTP; 14 Sep 2011 19:46:30 -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=QSDH+Re6cGoxBJa1H+E7EUpYCiI3zWQ/uvQAkg2Y/90=; b=HE3ePnZW1SHNEmWscuTpvZHVCM74gZULstitHH7Zs9D5aqgcyMIAMhCK1qFd63+Ycba2SOUWhlDvilDFJLlvCtrzyWHoy5q642/vsGV8NdRmRq4WuO9AjarYjV8Iz5Bu;
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 1R3vPh-0004vI-S7 for avt@ietf.org; Wed, 14 Sep 2011 13:46:30 -0600
Received: by fxd18 with SMTP id 18so2113063fxd.31 for <avt@ietf.org>; Wed, 14 Sep 2011 12:46:28 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.33.10 with SMTP id f10mr80125fad.121.1316029588554; Wed, 14 Sep 2011 12:46:28 -0700 (PDT)
Received: by 10.223.93.202 with HTTP; Wed, 14 Sep 2011 12:46:28 -0700 (PDT)
In-Reply-To: <alpine.BSF.2.00.1109141159020.25117@hsa.packetdesign.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> <alpine.BSF.2.00.1109141159020.25117@hsa.packetdesign.com>
Date: Wed, 14 Sep 2011 13:46:28 -0600
Message-ID: <CALw1_Q3-HmtXXnKU2ui5wk2a3fF8SAfuWDKK0xafm709APE9eA@mail.gmail.com>
From: Kevin Gross <kevin.gross@avanw.com>
To: Stephen Casner <casner@acm.org>
Content-Type: multipart/alternative; boundary="00151744847823c4f204acec04c6"
X-Identified-User: {1416:host291.hostmonster.com:avanwcom:avanw.com} {sentby:smtp auth 209.85.161.44 authed with kevin.gross@avanw.com}
Cc: avt@ietf.org, "Allison, Art" <AAllison@nab.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: Wed, 14 Sep 2011 19:44:25 -0000
I'm getting the clear impression from this discussion and from the RFC that the NTP timestamp is not sacred. I'm free to us that for any timebase I wish and I may well do so. With all these different timebases in play, how do receivers know which senders is running off which timebase? For example, if a receiver receives 48 kHz audio from two different senders, how does the receiver know that those two sources can be directly mixed without requiring sample-rate conversion to first synchronize them? Is this an SDP thing? Kevin On Wed, Sep 14, 2011 at 1:00 PM, Stephen Casner <casner@acm.org> wrote: > No, I meant that the leap-second issue was addressed by not syncing to > UTC and therefore not including leap seconds. You need not set the MS > bit to use 1588 time. > > The key point is that RTP uses NTP format timestamps, not necessarily > NTP. > > -- Steve > > On Wed, 14 Sep 2011, Kevin Gross wrote: > > > To be clear, "Those issues" refers to the year 2038 problem. > > > > By my reading, my original concern about leap seconds is not addressed in > > this excerpt or anywhere else in the RFC. I'm hoping to see some > additional > > discussion about that. > > > > I do recognize that the unsynchronized clock option allows me to replace > NTP > > time with 1588 time. Apparently I should set the MS bit in the timestamps > if > > I do this (and possibly expect problems after 2038). > > > > Kevin > > > > On Wed, Sep 14, 2011 at 12:11 PM, Stephen Casner <casner@acm.org> wrote: > > > > > Those issues are addressed in RFC 3550: > > > > > > Wallclock time (absolute date and time) is represented using the > > > timestamp format of the Network Time Protocol (NTP), which is in > > > seconds relative to 0h UTC on 1 January 1900 [4]. The full > > > resolution NTP timestamp is a 64-bit unsigned fixed-point number with > > > the integer part in the first 32 bits and the fractional part in the > > > last 32 bits. In some fields where a more compact representation is > > > appropriate, only the middle 32 bits are used; that is, the low 16 > > > bits of the integer part and the high 16 bits of the fractional part. > > > The high 16 bits of the integer part must be determined > > > independently. > > > > > > An implementation is not required to run the Network Time Protocol in > > > order to use RTP. Other time sources, or none at all, may be used > > > (see the description of the NTP timestamp field in Section 6.4.1). > > > However, running NTP may be useful for synchronizing streams > > > transmitted from separate hosts. > > > > > > The NTP timestamp will wrap around to zero some time in the year > > > 2036, but for RTP purposes, only differences between pairs of NTP > > > timestamps are used. So long as the pairs of timestamps can be > > > assumed to be within 68 years of each other, using modular arithmetic > > > for subtractions and comparisons makes the wraparound irrelevant. > > > > > > The timestamp is not required to be synchronized with UTC at all. For > > > some applications it would be convenient to use UTC in order to > > > synchronize the RTP stream with some other kinds of events, but RTP > > > does not require it. > > > > > > -- Steve > > > > > > On Wed, 14 Sep 2011, Allison, Art wrote: > > > > > > > As I understand it the UTC clock will monotonically increase after > > > > January 2017 (no more leap seconds). What happens at 03:14:07 UTC > > > > <http://en.wikipedia.org/wiki/Coordinated_Universal_Time> on > Tuesday, > > > > 19 January 2038 (32 bit count overflow) will need to be addressed by > > > > someone, - your guess if any equipment being built today will be in > > > > service then. > > > > > > > > See > > > > > http://www.agi.com/downloads/resources/white-papers/Debate-Over-UTC-and- > > > > Leap-Seconds.pdf for more information. > > > > > > > > > > > > > > > > > > > > > > > > Art Allison > > > > Senior Director Advanced Engineering, Science and Technology > > > > National Association of Broadcasters > > > > 1771 N Street NW > > > > Washington, DC 20036 > > > > Phone 202 429 5418 > > > > Fax 202 775 4981 > > > > www.nab.org <blocked::http://www.nab.org> > > > > Advocacy Education Innovation > > > > > > > > From: avt-bounces@ietf.org [mailto:avt-bounces@ietf.org] On Behalf > Of > > > > Kevin Gross > > > > Sent: Wednesday, September 14, 2011 1:22 PM > > > > To: avt@ietf.org > > > > Subject: [AVTCORE] Leap seconds > > > > > > > > > > > > > > > > I am working on a means of using an IEEE 1588 timebase for RTP > > > > streaming. I am aware of IEEE 1733 and will use that if necessary. > First > > > > I am exploring using existing NTP mapping function in RTCP sender > > > > reports. While researching how to translate a 1588 timestamp to its > NTP > > > > equivalent, I was reminded of the wrinkle leap seconds put into > things. > > > > > > > > > > > > > > > > The RTCP sender report maps RTP timestamps to NTP timestamps. RTP > > > > timestamps are monotonically increasing. The RTP timestamps are based > on > > > > UTC and have an occasional wobble due to leap seconds. During the > leap > > > > second, there is an ambiguous mapping between RTP and NTP/UTC. I find > no > > > > recommendations in RFC 3550 for dealing with this. > > > > > > > > > > > > > > > > -- > > > > > > > > Kevin Gross > > > > > > > > AVA Networks > > > > > > > > +1-303-447-0517 > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > Audio/Video Transport Core Maintenance > > > avt@ietf.org > > > https://www.ietf.org/mailman/listinfo/avt > > > > > > -- Kevin Gross AVA Networks +1-303-447-0517
- [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