@@ -358,6 +358,7 @@ dictionary RTCEncodedVideoFrameMetadata {
358358 sequence<unsigned long> contributingSources;
359359 long long timestamp; // microseconds
360360 unsigned long rtpTimestamp;
361+ DOMHighResTimeStamp receiveTime;
361362 DOMString mimeType;
362363};
363364</pre>
@@ -431,6 +432,18 @@ dictionary RTCEncodedVideoFrameMetadata {
431432 that reflects the sampling instant of the first octet in the RTP data packet.
432433 </p>
433434 </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>
434447 <dt>
435448 <dfn dict-member>mimeType</dfn> <span class="idlMemberType"> DOMString</span>
436449 </dt>
@@ -614,6 +627,7 @@ dictionary RTCEncodedAudioFrameMetadata {
614627 sequence<unsigned long> contributingSources;
615628 short sequenceNumber;
616629 unsigned long rtpTimestamp;
630+ DOMHighResTimeStamp receiveTime;
617631 DOMString mimeType;
618632};
619633</pre>
@@ -667,6 +681,17 @@ dictionary RTCEncodedAudioFrameMetadata {
667681 that reflects the sampling instant of the first octet in the RTP data packet.
668682 </p>
669683 </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>
670695 <dt>
671696 <dfn dict-member>mimeType</dfn> <span class="idlMemberType"> DOMString</span>
672697 </dt>
0 commit comments