diff --git a/index.bs b/index.bs index ac20df5..fb21787 100644 --- a/index.bs +++ b/index.bs @@ -331,7 +331,8 @@ dictionary RTCEncodedVideoFrameMetadata { unsigned long synchronizationSource; octet payloadType; sequence<unsigned long> contributingSources; - long long presentationTimestamp; // microseconds + long long timestamp; // microseconds + long long rtpTimestamp; }; @@ -367,7 +368,7 @@ dictionary RTCEncodedVideoFrameMetadata {

- presentationTimestamp of type timestamp of type long long
@@ -376,6 +377,16 @@ dictionary RTCEncodedVideoFrameMetadata { {{VideoFrame/timestamp}} for raw frames which correspond to this frame.

+
+ rtpTimestamp of type unsigned long +
+
+

+ The RTP timestamp identifier is an unsigned integer value per [RFC3550] that + reflects the sampling instant of the first octet in the RTP data packet. +

+
@@ -386,7 +397,6 @@ dictionary RTCEncodedVideoFrameMetadata { [Exposed=(Window,DedicatedWorker)] interface RTCEncodedVideoFrame { readonly attribute RTCEncodedVideoFrameType type; - readonly attribute unsigned long timestamp; attribute ArrayBuffer data; RTCEncodedVideoFrameMetadata getMetadata(); }; @@ -405,16 +415,6 @@ interface RTCEncodedVideoFrame { sent or received.

- -
- timestamp of type unsigned long -
-
-

- The RTP timestamp identifier is an unsigned integer value per [[RFC3550]] - that reflects the sampling instant of the first octet in the RTP data packet. -

-
data of type ArrayBuffer
@@ -446,6 +446,7 @@ dictionary RTCEncodedAudioFrameMetadata { octet payloadType; sequence<unsigned long> contributingSources; short sequenceNumber; + unsigned long rtpTimestamp; }; ### Members ### {#RTCEncodedAudioFrameMetadata-members} @@ -491,13 +492,21 @@ dictionary RTCEncodedAudioFrameMetadata { Comparing two sequence numbers requires serial number arithmetic described in [[RFC1982]].

+
+ rtpTimestamp of type unsigned long +
+
+

+ The RTP timestamp identifier is an unsigned integer value per [[RFC3550]] + that reflects the sampling instant of the first octet in the RTP data packet. +

+
## RTCEncodedAudioFrame interface ## {#RTCEncodedAudioFrame-interface}
 [Exposed=(Window,DedicatedWorker)]
 interface RTCEncodedAudioFrame {
-    readonly attribute unsigned long timestamp;
     attribute ArrayBuffer data;
     RTCEncodedAudioFrameMetadata getMetadata();
 };
@@ -507,15 +516,6 @@ interface RTCEncodedAudioFrame {
 
-
- timestamp of type unsigned long -
-
-

- The RTP timestamp identifier is an unsigned integer value per [[RFC3550]] - that reflects the sampling instant of the first octet in the RTP data packet. -

-
data of type ArrayBuffer