Skip to content

Commit 680a8de

Browse files
committed
add mimeType to metadata
since they 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 ef682af commit 680a8de

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
@@ -294,6 +294,7 @@ dictionary RTCEncodedVideoFrameMetadata {
294294
long temporalIndex;
295295
long synchronizationSource;
296296
octet payloadType;
297+
DOMString mimeType;
297298
sequence<long> contributingSources;
298299
};
299300

@@ -310,6 +311,7 @@ interface RTCEncodedVideoFrame {
310311
dictionary RTCEncodedAudioFrameMetadata {
311312
long synchronizationSource;
312313
octet payloadType;
314+
DOMString mimeType;
313315
sequence<long> contributingSources;
314316
};
315317

0 commit comments

Comments
 (0)