@@ -358,6 +358,7 @@ dictionary RTCEncodedVideoFrameMetadata {
358
358
sequence<unsigned long> contributingSources;
359
359
long long timestamp; // microseconds
360
360
unsigned long rtpTimestamp;
361
+ DOMHighResTimeStamp receiveTime;
361
362
DOMString mimeType;
362
363
};
363
364
</pre>
@@ -431,6 +432,18 @@ dictionary RTCEncodedVideoFrameMetadata {
431
432
that reflects the sampling instant of the first octet in the RTP data packet.
432
433
</p>
433
434
</dd>
435
+ <dt>
436
+ <dfn dict-member>receiveTime</dfn> <span class=
437
+ "idlMemberType"> DOMHighResTimeStamp</span>
438
+ </dt>
439
+ <dd>
440
+ <p>
441
+ For frames coming from an RTCRtpReceiver, represents the timestamp
442
+ of the last received packet used to produce this video frame. This
443
+ timestamp is relative to {{Performance}} .{{Performance/timeOrigin}} .
444
+ Only exists for incoming video frames.
445
+ </p>
446
+ </dd>
434
447
<dt>
435
448
<dfn dict-member>mimeType</dfn> <span class="idlMemberType"> DOMString</span>
436
449
</dt>
@@ -614,6 +627,7 @@ dictionary RTCEncodedAudioFrameMetadata {
614
627
sequence<unsigned long> contributingSources;
615
628
short sequenceNumber;
616
629
unsigned long rtpTimestamp;
630
+ DOMHighResTimeStamp receiveTime;
617
631
DOMString mimeType;
618
632
};
619
633
</pre>
@@ -667,6 +681,17 @@ dictionary RTCEncodedAudioFrameMetadata {
667
681
that reflects the sampling instant of the first octet in the RTP data packet.
668
682
</p>
669
683
</dd>
684
+ <dt>
685
+ <dfn dict-member>receiveTime</dfn> <span class=
686
+ "idlMemberType"> DOMHighResTimeStamp</span>
687
+ </dt>
688
+ <dd>
689
+ <p>
690
+ For frames coming from an RTCRtpReceiver, represents the timestamp
691
+ of the last received packet used to produce this audio frame. This
692
+ timestamp is relative to {{Performance}} .{{Performance/timeOrigin}} .
693
+ Only exists for incoming audio frames.
694
+ </p>
670
695
<dt>
671
696
<dfn dict-member>mimeType</dfn> <span class="idlMemberType"> DOMString</span>
672
697
</dt>
0 commit comments