@@ -340,6 +340,7 @@ dictionary RTCEncodedVideoFrameMetadata {
340340 octet payloadType;
341341 sequence<unsigned long> contributingSources;
342342 long long timestamp; // microseconds
343+ unsigned long rtpTimestamp;
343344};
344345</pre>
345346
@@ -383,6 +384,16 @@ dictionary RTCEncodedVideoFrameMetadata {
383384 {{VideoFrame/timestamp}} for raw frames which correspond to this frame.
384385 </p>
385386 </dd>
387+ <dt>
388+ <dfn dict-member>rtpTimestamp</dfn> <span class=
389+ "idlMemberType"> unsigned long</span>
390+ </dt>
391+ <dd>
392+ <p>
393+ The RTP timestamp identifier is an unsigned integer value per [[RFC3550]]
394+ that reflects the sampling instant of the first octet in the RTP data packet.
395+ </p>
396+ </dd>
386397</dl>
387398
388399
@@ -393,7 +404,6 @@ dictionary RTCEncodedVideoFrameMetadata {
393404[Exposed=(Window,DedicatedWorker), Serializable]
394405interface RTCEncodedVideoFrame {
395406 readonly attribute RTCEncodedVideoFrameType type;
396- readonly attribute unsigned long timestamp;
397407 attribute ArrayBuffer data;
398408 RTCEncodedVideoFrameMetadata getMetadata();
399409};
@@ -410,16 +420,6 @@ interface RTCEncodedVideoFrame {
410420 sent or received.
411421 </p>
412422 </dd>
413-
414- <dt>
415- <dfn attribute>timestamp</dfn> <span class="idlMemberType"> unsigned long</span>
416- </dt>
417- <dd>
418- <p>
419- The RTP timestamp identifier is an unsigned integer value per [[RFC3550]]
420- that reflects the sampling instant of the first octet in the RTP data packet.
421- </p>
422- </dd>
423423 <dt>
424424 <dfn attribute>data</dfn> <span class="idlMemberType"> ArrayBuffer</span>
425425 </dt>
@@ -474,6 +474,7 @@ dictionary RTCEncodedAudioFrameMetadata {
474474 octet payloadType;
475475 sequence<unsigned long> contributingSources;
476476 short sequenceNumber;
477+ unsigned long rtpTimestamp;
477478};
478479</pre>
479480### Members ### {#RTCEncodedAudioFrameMetadata-members}
@@ -517,29 +518,28 @@ dictionary RTCEncodedAudioFrameMetadata {
517518 Comparing two sequence numbers requires serial number arithmetic described in [[RFC1982]] .
518519 </p>
519520 </dd>
521+ <dt>
522+ <dfn dict-member>rtpTimestamp</dfn> <span class="idlMemberType"> unsigned long</span>
523+ </dt>
524+ <dd>
525+ <p>
526+ The RTP timestamp identifier is an unsigned integer value per [[RFC3550]]
527+ that reflects the sampling instant of the first octet in the RTP data packet.
528+ </p>
529+ </dd>
520530</dl>
521531
522532## <dfn interface>RTCEncodedAudioFrame</dfn> interface ## {#RTCEncodedAudioFrame-interface}
523533<pre class="idl">
524534[Exposed=(Window,DedicatedWorker), Serializable]
525535interface RTCEncodedAudioFrame {
526- readonly attribute unsigned long timestamp;
527536 attribute ArrayBuffer data;
528537 RTCEncodedAudioFrameMetadata getMetadata();
529538};
530539</pre>
531540
532541### Members ### {#RTCEncodedAudioFrame-members}
533542<dl dfn-for="RTCEncodedAudioFrame" class="dictionary-members">
534- <dt>
535- <dfn attribute>timestamp</dfn> <span class="idlMemberType"> unsigned long</span>
536- </dt>
537- <dd>
538- <p>
539- The RTP timestamp identifier is an unsigned integer value per [[RFC3550]]
540- that reflects the sampling instant of the first octet in the RTP data packet.
541- </p>
542- </dd>
543543 <dt>
544544 <dfn attribute>data</dfn> <span class="idlMemberType"> ArrayBuffer</span>
545545 </dt>
0 commit comments