Skip to content

Commit

Permalink
Address comments from internal review.
Browse files Browse the repository at this point in the history
  • Loading branch information
handellm committed Sep 11, 2024
1 parent ae946a9 commit 2dc8783
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
// See https://github.com/w3c/respec/wiki/ for how to configure ReSpec
var respecConfig = {
group: "webrtc",
xref: ["geometry-1", "html", "infra", "permissions", "dom", "hr-time", "image-capture", "mediacapture-streams", "screen-capture", "webaudio", "webcodecs", "webidl"],
xref: ["geometry-1", "html", "infra", "permissions", "dom", "hr-time", "image-capture", "mediacapture-fromelement", "mediacapture-streams", "screen-capture", "webaudio", "webcodecs", "webidl"],
edDraftURI: "https://w3c.github.io/mediacapture-extensions/",
editors: [
{name: "Jan-Ivar Bruaroey", company: "Mozilla Corporation", w3cid: 79152},
Expand Down Expand Up @@ -1158,12 +1158,13 @@ <h2>Constrainable Properties</h2>
<section>
<h2>Capture timestamps</h2>
<div>
<p>
[[mediacapture-fromelement]]
Some video sources can supply information about when a video frame was captured.
This information is useful for example for AV sync and end-to-end delay measurement.
It MAY be set by the user agent (and be present in {{VideoFrameMetadata}}) by local (e.g. {{MediaDevices/getUserMedia()}}, {{MediaDevices/getDisplayMedia()}}, or {{HTMLMediaElement/captureStream()}}) capturers, or it
MAY be supplied in {{VideoFrameMetadata}} when a VideoFrame is created.
</p>
<p>
{{VideoFrameMetadata}}.{{VideoFrameMetadata/captureTime}} MUST be set by the user
agent in video frames sourced from {{MediaDevices/getUserMedia()}},
{{MediaDevices/getDisplayMedia()}}, and {{HTMLMediaElement/captureStream()}}.
</p>
<section>
<h3>{{VideoFrameMetadata}}</h3>
Expand All @@ -1177,7 +1178,11 @@ <h4>Members</h4>
<dt><dfn><code>captureTime</code></dfn> of type <span
class="idlMemberType">DOMHighResTimeStamp, readonly</span></dt>
<dd>
<p>The capture time of the frame. The timestamp is defined as {{Performance.timeOrigin}} + {{Performance.now()}} at that time.</p>
<p>
The capture time of the frame, defined as {{Performance.timeOrigin}} + {{Performance.now()}}.
This is the user agent's best estimate of the instant the frame content was captured or
generated.
</p>
</dd>
</dl>
</section>
Expand Down

0 comments on commit 2dc8783

Please sign in to comment.