Skip to content

Commit e0b1621

Browse files
authored
Update index.bs
1 parent 5c7ab84 commit e0b1621

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

index.bs

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,8 @@ dictionary RTCEncodedVideoFrameMetadata {
330330
unsigned long temporalIndex;
331331
unsigned long synchronizationSource;
332332
octet payloadType;
333-
sequence<unsigned long> contributingSources;
333+
sequence<unsigned long> contributingSources;
334+
DOMHighResTimeStamp captureTime;
334335
};
335336
</pre>
336337

@@ -365,6 +366,21 @@ dictionary RTCEncodedVideoFrameMetadata {
365366
The list of contribution sources (csrc list) as defined in [[RFC3550]].
366367
</p>
367368
</dd>
369+
<dt>
370+
<dfn>captureTime</dfn> of type <span class=
371+
"idlMemberType">DOMHighResTimeStamp</span>
372+
</dt>
373+
<dd>
374+
<p>
375+
For video frames coming from a local source, this is the time at which
376+
the frame was captured by the camera.
377+
For video frames coming from remote source, the capture time is based on the RTP
378+
timestamp of the frame and estimated using clock synchronization.
379+
This is best effort and can use methods like using RTCP SR as specified in
380+
RFC 3550 Section 6.4.1, or by other alternative means if use by RTCP SR isn’t feasible.
381+
As defined in VideoFrameCallbackMetadata.
382+
</p>
383+
</dd>
368384
</dl>
369385

370386

0 commit comments

Comments
 (0)