Skip to content

Commit 85672ce

Browse files
committed
metadata: add payloadType
adds a payloadType attribute to the metadata. This is the RTP payload type from the RTP header, with a range of [0,127]. This can be used to determine the codec of the encoded data and hence its format.
1 parent f8dc25b commit 85672ce

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

index.bs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,7 @@ dictionary RTCEncodedVideoFrameMetadata {
281281
long spatialIndex;
282282
long temporalIndex;
283283
long synchronizationSource;
284+
octet payloadType;
284285
sequence<long> contributingSources;
285286
};
286287

@@ -296,6 +297,7 @@ interface RTCEncodedVideoFrame {
296297

297298
dictionary RTCEncodedAudioFrameMetadata {
298299
long synchronizationSource;
300+
octet payloadType;
299301
sequence<long> contributingSources;
300302
};
301303

0 commit comments

Comments
 (0)