Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add paragraph about timestamp and reference DOMHighResTimeStamp #210

Merged
merged 1 commit into from May 10, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
15 changes: 9 additions & 6 deletions webrtc-stats.html
Expand Up @@ -186,6 +186,11 @@ <h2>
DOMString id;
};
</pre>
<p>
Timestamps are expressed with DOMHighResTimeStamp [[!HIGHRES-TIME]]. Unless otherwise
specified, timestamps are relative to the UNIX epoch (Jan 1, 1970, UTC) and are measured
by a local clock.
</p>
<section>
<h3>
Guidelines for design of stats objects
Expand Down Expand Up @@ -1256,8 +1261,7 @@ <h2>
represents the time at which the statistics were generated or received by the
local endpoint. The <code>remoteTimestamp</code>, if present, is derived from the
NTP timestamp in an RTCP Sender Report (SR) packet, which reflects the remote
endpoint's clock. That clock may not be synchronized with the local clock. The
time is relative to the UNIX epoch (Jan 1, 1970, UTC).
endpoint's clock. That clock may not be synchronized with the local clock.
</p>
</dd>
</dl>
Expand Down Expand Up @@ -2342,10 +2346,9 @@ <h2>
<dd>
<p>
Represents the timestamp at which the latest valid STUN binding response expired,
as defined in [[!RFC7675]] section 5.1. The time is relative to the UNIX epoch
(Jan 1, 1970, UTC). If a valid STUN binding response has not been made
(<code>responsesReceived</code> is zero) or the latest one has not expired this
value must be undefined.
as defined in [[!RFC7675]] section 5.1. If a valid STUN binding response has not
been made (<code>responsesReceived</code> is zero) or the latest one has not
expired this value must be undefined.
</p>
</dd>
</dl>
Expand Down