Skip to content

Commit 18e7d47

Browse files
committed
add mimeType to metadata
since the mapping from payload type to the codec mime type is nontrivial in environments like workers. Defined similar to webrtc-stats: https://w3c.github.io/webrtc-stats/#dom-rtccodecstats-mimetype
1 parent f2797d7 commit 18e7d47

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

index.bs

+2
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,7 @@ dictionary RTCEncodedVideoFrameMetadata {
282282
long temporalIndex;
283283
unsigned long synchronizationSource;
284284
octet payloadType;
285+
DOMString mimeType;
285286
sequence<unsigned long> contributingSources;
286287
};
287288

@@ -298,6 +299,7 @@ interface RTCEncodedVideoFrame {
298299
dictionary RTCEncodedAudioFrameMetadata {
299300
unsigned long synchronizationSource;
300301
octet payloadType;
302+
DOMString mimeType;
301303
sequence<unsigned long> contributingSources;
302304
};
303305

0 commit comments

Comments
 (0)