Skip to content

Commit 867d5b8

Browse files
tonyherreTony Herre
authored andcommitted
Add presentationTime to RTCEncodedVideoFrameMetadata
1 parent 5c7ab84 commit 867d5b8

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

index.bs

Lines changed: 13 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+
long long presentationTimestamp; // microseconds
334335
};
335336
</pre>
336337

@@ -365,6 +366,17 @@ dictionary RTCEncodedVideoFrameMetadata {
365366
The list of contribution sources (csrc list) as defined in [[RFC3550]].
366367
</p>
367368
</dd>
369+
<dt>
370+
<dfn>presentationTimestamp</dfn> of type <span class=
371+
"idlMemberType">long long</span>
372+
</dt>
373+
<dd>
374+
<p>
375+
The media presentation timestamp (PTS) in microseconds of raw frame, matching the
376+
{{VideoFrame/timestamp}} for raw frames which correspond to this frame and the
377+
{{VideoFrameCallbackMetadata/mediaTime}} given if this frame is decoded and rendererd.
378+
</p>
379+
</dd>
368380
</dl>
369381

370382

0 commit comments

Comments
 (0)