Skip to content

Commit 442e4c2

Browse files
authored
Merge pull request #173 from tonyherre/tonyherre-capturetime
Add presentationTimestamp to RTCEncodedVideoFrameMetadata
2 parents 5c7ab84 + f661a21 commit 442e4c2

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

index.bs

Lines changed: 12 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 timestamp; // microseconds
334335
};
335336
</pre>
336337

@@ -365,6 +366,16 @@ dictionary RTCEncodedVideoFrameMetadata {
365366
The list of contribution sources (csrc list) as defined in [[RFC3550]].
366367
</p>
367368
</dd>
369+
<dt>
370+
<dfn>timestamp</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.
377+
</p>
378+
</dd>
368379
</dl>
369380

370381

0 commit comments

Comments
 (0)