From 867d5b8851d288a55c5d976bef5b0a31a627a99b Mon Sep 17 00:00:00 2001 From: Tony Herre <48100770+tonyherre@users.noreply.github.com> Date: Mon, 13 Feb 2023 10:57:20 +0100 Subject: [PATCH 1/3] Add presentationTime to RTCEncodedVideoFrameMetadata --- index.bs | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/index.bs b/index.bs index 3a46a6a..c32c08f 100644 --- a/index.bs +++ b/index.bs @@ -330,7 +330,8 @@ dictionary RTCEncodedVideoFrameMetadata { unsigned long temporalIndex; unsigned long synchronizationSource; octet payloadType; - sequence<unsigned long> contributingSources; + sequence<unsigned long> contributingSources; + long long presentationTimestamp; // microseconds }; @@ -365,6 +366,17 @@ dictionary RTCEncodedVideoFrameMetadata { The list of contribution sources (csrc list) as defined in [[RFC3550]].
++ The media presentation timestamp (PTS) in microseconds of raw frame, matching the + {{VideoFrame/timestamp}} for raw frames which correspond to this frame and the + {{VideoFrameCallbackMetadata/mediaTime}} given if this frame is decoded and rendererd. +
+The media presentation timestamp (PTS) in microseconds of raw frame, matching the - {{VideoFrame/timestamp}} for raw frames which correspond to this frame and the - {{VideoFrameCallbackMetadata/mediaTime}} given if this frame is decoded and rendererd. + {{VideoFrame/timestamp}} for raw frames which correspond to this frame.