Re: [AVTCORE] I-D Action: draft-ietf-avtcore-clksrc-06.txt

Magnus Westerlund <magnus.westerlund@ericsson.com> Fri, 27 September 2013 05:57 UTC

Return-Path: <magnus.westerlund@ericsson.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 8432811E8121 for <avt@ietfa.amsl.com>; Thu, 26 Sep 2013 22:57:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -100.965
X-Spam-Level:
X-Spam-Status: No, score=-100.965 tagged_above=-999 required=5 tests=[AWL=-4.248, BAYES_00=-2.599, FRT_STOCK1=3.988, FRT_STOCK2=3.988, HELO_EQ_SE=0.35, J_CHICKENPOX_15=0.6, J_CHICKENPOX_18=0.6, RCVD_IN_DNSWL_MED=-4, SARE_SUB_6CONS_WORD=0.356, USER_IN_WHITELIST=-100]
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 F+2yo1kNUlUy for <avt@ietfa.amsl.com>; Thu, 26 Sep 2013 22:57:21 -0700 (PDT)
Received: from mailgw7.ericsson.se (mailgw7.ericsson.se [193.180.251.48]) by ietfa.amsl.com (Postfix) with ESMTP id 1CCCC11E80E6 for <avt@ietf.org>; Thu, 26 Sep 2013 22:57:20 -0700 (PDT)
X-AuditID: c1b4fb30-b7f9a8e000005620-97-52451e3f3c3b
Received: from ESESSHC010.ericsson.se (Unknown_Domain [153.88.253.125]) by mailgw7.ericsson.se (Symantec Mail Security) with SMTP id E4.F2.22048.F3E15425; Fri, 27 Sep 2013 07:57:19 +0200 (CEST)
Received: from [127.0.0.1] (153.88.183.17) by smtp.internal.ericsson.com (153.88.183.50) with Microsoft SMTP Server id 14.2.328.9; Fri, 27 Sep 2013 07:57:19 +0200
Message-ID: <52451E7F.2050202@ericsson.com>
Date: Fri, 27 Sep 2013 07:58:23 +0200
From: Magnus Westerlund <magnus.westerlund@ericsson.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130801 Thunderbird/17.0.8
MIME-Version: 1.0
To: Kevin Gross <kevin.gross@avanw.com>
References: <20130911001349.28088.35324.idtracker@ietfa.amsl.com> <52301853.4070306@ericsson.com> <CALw1_Q1yjrG_u20pNEO+SzxRqz1Z_6d=Rn=HxdfPwXYUBZz78Q@mail.gmail.com>
In-Reply-To: <CALw1_Q1yjrG_u20pNEO+SzxRqz1Z_6d=Rn=HxdfPwXYUBZz78Q@mail.gmail.com>
X-Enigmail-Version: 1.5.2
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprFLMWRmVeSWpSXmKPExsUyM+Jvra69nGuQwczF1hYve1ayW0z6up3V 4sWhdjYHZo9/V7czeyxZ8pPJ48vlz2wBzFFcNimpOZllqUX6dglcGR/+phfc962Yuo+tgXGd RRcjJ4eEgInEibXdjBC2mMSFe+vZuhi5OIQEDjNKLGn5zQ7hLGOUaDj2ig2kildAW+LfxHms IDaLgKrEzt6LTCA2m4CFxM0fjWA1ogLBEu3bv0LVC0qcnPmEBcQWEVCXeLTrIVg9s0CVxJnd n8FsYQFniaXLZ7PCLfvw9inYSZwCgRIvlt5jhjhPUmLbomPsEM16ElOutjBC2PISzVtng9UI AR3X0NTBOoFRaBaS3bOQtMxC0rKAkXkVI3tuYmZOern5JkZg+B7c8ttgB+Om+2KHGKU5WJTE eT+8dQ4SEkhPLEnNTk0tSC2KLyrNSS0+xMjEwSnVwHhGMv84q8P1lg9tlncebzhovEAoMaxz s8m16xlSa331+5bvvpOsEn2k+uM0/3wb+6TJy/YHPSjhdd6vEPehSVDo7Z+/599/+jo5Rmjl R+lu113bniaz8M9zecSr9Gu3VzWXo3vf26OBL9yrf25yTCrT+KiecGq21rN13Ar8DlX2t2s+ 2u+LElViKc5INNRiLipOBADRjP0vLQIAAA==
Cc: "avt@ietf.org" <avt@ietf.org>, "draft-ietf-avtcore-clksrc@tools.ietf.org" <draft-ietf-avtcore-clksrc@tools.ietf.org>
Subject: Re: [AVTCORE] I-D Action: draft-ietf-avtcore-clksrc-06.txt
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: Fri, 27 Sep 2013 05:57:27 -0000

Hi,

With the new text in the other messages I think I am fine and I
revisited section 5.2 and I think it sufficient clear.

If any one in the WG wants to give their input on this it would be
appreciated.

So, after a revised ID has been submitted with the offset example text
lets progress.

Cheers

Magnus

On 2013-09-26 02:27, Kevin Gross wrote:
> Sorry about that Magnus. I circulated a proposed response on these
> issues among authors back in August but it looks like I never got that
> to you and the avt list. Let me know if you would like to see any
> changes based on this response.
> 
>     First, I am not certain that I understand the offset. So the indicated
>     value is an RTP timestamp, i.e. the integer representation of the 32-bit
>     value of the RTP timestamp. So the epoch time is dependent on the clock
>     system, but the current epoch for an NTP reference clock would be 1 jan
>     at 0:00 year 1900. Thus you need to take all the leap seconds etc into
>     account to determine how many time has actually passed since then and
>     then calculate how many wrapping of the timestamp this means. This seems
>     error prone, at least without being more explicit of how to do it for
>     the various reference clocks.
> 
> 
> A naive implementation would simply add 2208988800 (as defined in RFC
> 868) to current Unix time(). However, because of the way Unix time is
> defined, this does not include leap seconds. We appreciate that guidance
> is required to correctly calculate the actual number of elapsed seconds
> since the epoch for a leap-second-bearing reference. We can try to add
> this guidance or we can simply advise against specifying an offset for
> leap-second-bearing reference clocks. This issue does not exist for TAI
> reference clocks.
> 
>        A rate modifier may be specified.  The modifier is expressed as the
>        ratio of two integers and modifies the rate specified or implied by
>        the media description by this ratio.  If omitted, the rate is assumed
>        to be the exact rate specified or implied by the media format.  For
>        example, without a rate specification, the media clock for an 8 kHz
>        G.711 audio stream will advance exactly 8000 units for each second
>        advance in the reference clock from which it is derived.
> 
>     and looking at this example in Figure 7:
> 
>               m=audio 5004 RTP/AVP 96
>               a=rtpmap:96 L24/44100/2
>               a=sendonly
>               a=ts-refclk:ptp=IEEE1588-2008:39-A7-94-FF-FE-07-CB-D0:0
>               a=mediaclk:direct=963214424 rate=1000/1001
> 
>     I realize that I don't understand what the rate modifier means. Without
>     the rate modifier there would be 44100 RTP timestamp ticks per second of
>     reference clock. Does the rate modifier multiply with the nominal rate
>     so that this example means 441000*1000/1001 RTP TS ticks per second of
>     reference clock?
> 
>     Some clarification may be required here.
> 
> 
> This is correct. There is a fair amount of clarification 5.2 that you
> have not quoted. The fact that you properly understand it indicates to
> me that it may actually be adequately clear. To clarify further I think
> would require a lesson on NTSC and digital audio history.
> 
> Kevin Gross
> +1-303-447-0517
> Media Network Consultant
> AVA Networks - www.AVAnw.com <http://www.avanw.com/>
> 
> 
> On Wed, Sep 11, 2013 at 1:14 AM, Magnus Westerlund
> <magnus.westerlund@ericsson.com <mailto:magnus.westerlund@ericsson.com>>
> wrote:
> 
>     Hi,
> 
>     Great to see a new version. I have checked this version against my
>     previous comments and believe that it cares of all except the below two
>     issues.
> 
>     Section 5.2:
> 
>        The signalling optionally indicates a media clock offset value.  The
>        offset indicates the RTP timestamp value at the epoch (time of
>        origin) of the reference clock.  If no offset is signalled, the
>        offset can be inferred at the receiver by examining RTCP sender
>        reports which contain NTP and RTP timestamps which combined define a
>        mapping.
> 
> 
>     > First, I am not certain that I understand the offset. So the indicated
>     > value is an RTP timestamp, i.e. the integer representation of the
>     32-bit
>     > value of the RTP timestamp. So the epoch time is dependent on the
>     clock
>     > system, but the current epoch for an NTP reference clock would be
>     1 jan
>     > at 0:00 year 1900. Thus you need to take all the leap seconds etc into
>     > account to determine how many time has actually passed since then and
>     > then calculate how many wrapping of the timestamp this means. This
>     seems
>     > error prone, at least without being more explicit of how to do it for
>     > the various reference clocks.
> 
>     I still think I need an author response on this to determine if there is
>     an issue here.
> 
> 
>     > 5. Section 5.2 and Figure 7:
>     >
>     >    A rate modifier may be specified.  The modifier is expressed as the
>     >    ratio of two integers and modifies the rate specified or implied by
>     >    the media description by this ratio.  If omitted, the rate is
>     assumed
>     >    to be the exact rate specified or implied by the media format.  For
>     >    example, without a rate specification, the media clock for an 8 kHz
>     >    G.711 audio stream will advance exactly 8000 units for each second
>     >    advance in the reference clock from which it is derived.
>     >
>     > and looking at this example in Figure 7:
>     >
>     >           m=audio 5004 RTP/AVP 96
>     >           a=rtpmap:96 L24/44100/2
>     >           a=sendonly
>     >           a=ts-refclk:ptp=IEEE1588-2008:39-A7-94-FF-FE-07-CB-D0:0
>     >           a=mediaclk:direct=963214424 rate=1000/1001
>     >
>     > I realize that I don't understand what the rate modifier means.
>     Without
>     > the rate modifier there would be 44100 RTP timestamp ticks per
>     second of
>     > reference clock. Does the rate modifier multiply with the nominal rate
>     > so that this example means 441000*1000/1001 RTP TS ticks per second of
>     > reference clock?
>     >
>     > Some clarification may be required here.
> 
>     Also this I would like to receive some answer to.
> 
>     Cheers
> 
>     Magnus
> 
> 
>     On 2013-09-11 02:13, internet-drafts@ietf.org
>     <mailto:internet-drafts@ietf.org> wrote:
>     >
>     > A New Internet-Draft is available from the on-line Internet-Drafts
>     directories.
>     >  This draft is a work item of the Audio/Video Transport Core
>     Maintenance Working Group of the IETF.
>     >
>     >       Title           : RTP Clock Source Signalling
>     >       Author(s)       : Aidan Williams
>     >                           Kevin Gross
>     >                           Ray van Brandenburg
>     >                           Hans Stokking
>     >       Filename        : draft-ietf-avtcore-clksrc-06.txt
>     >       Pages           : 28
>     >       Date            : 2013-09-10
>     >
>     > Abstract:
>     >    NTP format timestamps are used by several RTP protocols for
>     >    synchronisation and statistical measurements.  This memo specifies
>     >    SDP signalling identifying timestamp reference clock sources
>     and SDP
>     >    signalling identifying the media clock sources in a multimedia
>     >    session.
>     >
>     >
>     >
>     > The IETF datatracker status page for this draft is:
>     > https://datatracker.ietf.org/doc/draft-ietf-avtcore-clksrc
>     >
>     > There's also a htmlized version available at:
>     > http://tools.ietf.org/html/draft-ietf-avtcore-clksrc-06
>     >
>     > A diff from the previous version is available at:
>     > http://www.ietf.org/rfcdiff?url2=draft-ietf-avtcore-clksrc-06
>     >
>     >
>     > Please note that it may take a couple of minutes from the time of
>     submission
>     > until the htmlized version and diff are available at
>     tools.ietf.org <http://tools.ietf.org>.
>     >
>     > Internet-Drafts are also available by anonymous FTP at:
>     > ftp://ftp.ietf.org/internet-drafts/
>     >
>     > _______________________________________________
>     > Audio/Video Transport Core Maintenance
>     > avt@ietf.org <mailto:avt@ietf.org>
>     > https://www.ietf.org/mailman/listinfo/avt
>     >
>     >
> 
> 
>     --
> 
>     Magnus Westerlund
> 
>     ----------------------------------------------------------------------
>     Multimedia Technologies, Ericsson Research EAB/TVM
>     ----------------------------------------------------------------------
>     Ericsson AB                | Phone  +46 10 7148287
>     <tel:%2B46%2010%207148287>
>     Färögatan 6                | Mobile +46 73 0949079
>     <tel:%2B46%2073%200949079>
>     SE-164 80 Stockholm, Sweden| mailto: magnus.westerlund@ericsson.com
>     <mailto:magnus.westerlund@ericsson.com>
>     ----------------------------------------------------------------------
> 
>     _______________________________________________
>     Audio/Video Transport Core Maintenance
>     avt@ietf.org <mailto:avt@ietf.org>
>     https://www.ietf.org/mailman/listinfo/avt
> 
> 


-- 

Magnus Westerlund

----------------------------------------------------------------------
Multimedia Technologies, Ericsson Research EAB/TVM
----------------------------------------------------------------------
Ericsson AB                | Phone  +46 10 7148287
Färögatan 6                | Mobile +46 73 0949079
SE-164 80 Stockholm, Sweden| mailto: magnus.westerlund@ericsson.com
----------------------------------------------------------------------