File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments