@@ -340,6 +340,7 @@ dictionary RTCEncodedVideoFrameMetadata {
340
340
octet payloadType;
341
341
sequence<unsigned long> contributingSources;
342
342
long long timestamp; // microseconds
343
+ unsigned long rtpTimestamp;
343
344
};
344
345
</pre>
345
346
@@ -383,6 +384,16 @@ dictionary RTCEncodedVideoFrameMetadata {
383
384
{{VideoFrame/timestamp}} for raw frames which correspond to this frame.
384
385
</p>
385
386
</dd>
387
+ <dt>
388
+ <dfn dict-member>rtpTimestamp</dfn> of type <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>
386
397
</dl>
387
398
388
399
@@ -393,7 +404,6 @@ dictionary RTCEncodedVideoFrameMetadata {
393
404
[Exposed=(Window,DedicatedWorker)]
394
405
interface RTCEncodedVideoFrame {
395
406
readonly attribute RTCEncodedVideoFrameType type;
396
- readonly attribute unsigned long timestamp;
397
407
attribute ArrayBuffer data;
398
408
RTCEncodedVideoFrameMetadata getMetadata();
399
409
};
@@ -410,16 +420,6 @@ interface RTCEncodedVideoFrame {
410
420
sent or received.
411
421
</p>
412
422
</dd>
413
-
414
- <dt>
415
- <dfn attribute>timestamp</dfn> of type <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>
423
423
<dt>
424
424
<dfn attribute>data</dfn> of type <span class="idlMemberType"> ArrayBuffer</span>
425
425
</dt>
@@ -449,6 +449,7 @@ dictionary RTCEncodedAudioFrameMetadata {
449
449
octet payloadType;
450
450
sequence<unsigned long> contributingSources;
451
451
short sequenceNumber;
452
+ unsigned long rtpTimestamp;
452
453
};
453
454
</pre>
454
455
### Members ### {#RTCEncodedAudioFrameMetadata-members}
@@ -492,29 +493,28 @@ dictionary RTCEncodedAudioFrameMetadata {
492
493
Comparing two sequence numbers requires serial number arithmetic described in [[RFC1982]] .
493
494
</p>
494
495
</dd>
496
+ <dt>
497
+ <dfn dict-member>rtpTimestamp</dfn> of type <span class="idlMemberType"> unsigned long</span>
498
+ </dt>
499
+ <dd>
500
+ <p>
501
+ The RTP timestamp identifier is an unsigned integer value per [[RFC3550]]
502
+ that reflects the sampling instant of the first octet in the RTP data packet.
503
+ </p>
504
+ </dd>
495
505
</dl>
496
506
497
507
## <dfn interface>RTCEncodedAudioFrame</dfn> interface ## {#RTCEncodedAudioFrame-interface}
498
508
<pre class="idl">
499
509
[Exposed=(Window,DedicatedWorker)]
500
510
interface RTCEncodedAudioFrame {
501
- readonly attribute unsigned long timestamp;
502
511
attribute ArrayBuffer data;
503
512
RTCEncodedAudioFrameMetadata getMetadata();
504
513
};
505
514
</pre>
506
515
507
516
### Members ### {#RTCEncodedAudioFrame-members}
508
517
<dl dfn-for="RTCEncodedAudioFrame" class="dictionary-members">
509
- <dt>
510
- <dfn attribute>timestamp</dfn> of type <span class="idlMemberType"> unsigned long</span>
511
- </dt>
512
- <dd>
513
- <p>
514
- The RTP timestamp identifier is an unsigned integer value per [[RFC3550]]
515
- that reflects the sampling instant of the first octet in the RTP data packet.
516
- </p>
517
- </dd>
518
518
<dt>
519
519
<dfn attribute>data</dfn> of type <span class="idlMemberType"> ArrayBuffer</span>
520
520
</dt>
0 commit comments