Skip to content

Commit 43b8c59

Browse files
committed
Move RTP timestamp members to Metadata objects
1 parent c18f6ae commit 43b8c59

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

index.bs

+21-21
Original file line numberDiff line numberDiff line change
@@ -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> 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>
386397
</dl>
387398

388399

@@ -393,7 +404,6 @@ dictionary RTCEncodedVideoFrameMetadata {
393404
[Exposed=(Window,DedicatedWorker)]
394405
interface 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> 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>
423423
<dt>
424424
<dfn attribute>data</dfn> of type <span class="idlMemberType">ArrayBuffer</span>
425425
</dt>
@@ -449,6 +449,7 @@ dictionary RTCEncodedAudioFrameMetadata {
449449
octet payloadType;
450450
sequence&lt;unsigned long&gt; contributingSources;
451451
short sequenceNumber;
452+
unsigned long rtpTimestamp;
452453
};
453454
</pre>
454455
### Members ### {#RTCEncodedAudioFrameMetadata-members}
@@ -492,29 +493,28 @@ dictionary RTCEncodedAudioFrameMetadata {
492493
Comparing two sequence numbers requires serial number arithmetic described in [[RFC1982]].
493494
</p>
494495
</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>
495505
</dl>
496506

497507
## <dfn interface>RTCEncodedAudioFrame</dfn> interface ## {#RTCEncodedAudioFrame-interface}
498508
<pre class="idl">
499509
[Exposed=(Window,DedicatedWorker)]
500510
interface RTCEncodedAudioFrame {
501-
readonly attribute unsigned long timestamp;
502511
attribute ArrayBuffer data;
503512
RTCEncodedAudioFrameMetadata getMetadata();
504513
};
505514
</pre>
506515

507516
### Members ### {#RTCEncodedAudioFrame-members}
508517
<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>
518518
<dt>
519519
<dfn attribute>data</dfn> of type <span class="idlMemberType">ArrayBuffer</span>
520520
</dt>

0 commit comments

Comments
 (0)