[Widex] suggestions re timestamps

Dave Raggett <dsr@w3.org> Fri, 24 March 2006 17:14 UTC

Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1FMpsA-0004ID-RL; Fri, 24 Mar 2006 12:14:50 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1FMps9-0004Hy-GU for widex@ietf.org; Fri, 24 Mar 2006 12:14:49 -0500
Received: from homer.w3.org ([128.30.52.30]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FMps8-0002Rx-8v for widex@ietf.org; Fri, 24 Mar 2006 12:14:49 -0500
Received: from localhost (homer.w3.org [128.30.52.30]) by homer.w3.org (Postfix) with ESMTP id 5C5CC4F284 for <widex@ietf.org>; Fri, 24 Mar 2006 12:14:47 -0500 (EST)
Date: Fri, 24 Mar 2006 17:14:40 +0000
From: Dave Raggett <dsr@w3.org>
X-X-Sender: dsr@localhost.localdomain
To: widex@ietf.org
Message-ID: <Pine.LNX.4.62.0603241637360.8293@localhost.localdomain>
X-GPG-PUBLIC_KEY: http://www.w3.org/People/Raggett/pubkey-20040130.asc
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset="US-ASCII"; format="flowed"
X-Spam-Score: 0.0 (/)
X-Scan-Signature: e8a67952aa972b528dd04570d58ad8fe
Subject: [Widex] suggestions re timestamps
X-BeenThere: widex@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Working list for the WIDEX working group at IETF <widex.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/widex>, <mailto:widex-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/widex>
List-Post: <mailto:widex@ietf.org>
List-Help: <mailto:widex-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/widex>, <mailto:widex-request@ietf.org?subject=subscribe>
Errors-To: widex-bounces@ietf.org

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

In the face to face meeting on Thursday, we discussed the potential
problems with how REX specifies timestamps for updates that are
intended to be applied at a future time.

REX currently specifies these in terms of the renderer's clock as 
milliseconds since the start of 1970 GMT. The problem is the 
likelihood of a significant clock skew between the renderer and the 
server, and the latency incurred by the protocol. This makes it 
difficult to the server to set the appropriate timestamps when the 
update is to be applied in a relatively short time interval into the 
future.

In principle, the server may be able to estimate the clock skew
and the network latency from a sequence of interactions with the
renderer, but this is tricky and subject to uncertainties.

W3C's SMIL language deals with this by allowing you to specify
event timestamps in terms off timed offsets from other events
(the beginning or end of a give presentation). SMIL isn't itself
a solution to Widex as it doesn't deal with the means to transport
DOM events and updates.

Widex/REX could use the SMIL event-value syntax, which includes
a reference to a named event and a signed time offset. This
would be very general, but comes with an implementation overhead
that may not be acceptable in all environments. A simpler approach
would be use non-negative timed offsets from an implicit reference
event. You would be able to designate that a given event is the new
reference point, replacing the previous reference point. The initial 
reference point is the start of the session.

This technique avoids the need to record the times of events
as they are applied. You only need to record the time of the
current reference point. The syntax for identifying an event as
a reference point would involve a new attribute. The existing
timestamp would be refined as a non-negative integer denoting the
number of milliseconds from the current reference point.

For multimedia presentations, the audio track is often used as
the reference timebase since human perception finds disruption
to the audio more disturbing than to the visual presentation.
A question for the W3C REX task force is whether they are interested
in synchronizing SVG updates to streaming audio, and if so whether
the presentation can be paused/resumed. If yes, then this should
be taken into account in the semantics for timestamps, e.g. the
clock should be paused along with the presentation.

Comments?


  Dave Raggett <dsr@w3.org>  W3C lead for multimodal interaction
  http://www.w3.org/People/Raggett +44 1225 866240 (or 867351)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFEJCkFb3AdEmxAsUsRAmG1AKCiQWEkIYxLYmAOhQIYlxmhnByyEgCgn3bl
+M+Bs9+lJX/0L5mtiu2xYvM=
=UZF3
-----END PGP SIGNATURE-----

_______________________________________________
Widex mailing list
Widex@ietf.org
https://www1.ietf.org/mailman/listinfo/widex