@@ -341,6 +341,7 @@ dictionary RTCEncodedVideoFrameMetadata {
341
341
sequence<unsigned long> contributingSources;
342
342
long long timestamp; // microseconds
343
343
unsigned long rtpTimestamp;
344
+ DOMString mimeType;
344
345
};
345
346
</pre>
346
347
@@ -381,7 +382,7 @@ dictionary RTCEncodedVideoFrameMetadata {
381
382
<dd>
382
383
<p>
383
384
The media presentation timestamp (PTS) in microseconds of raw frame, matching the
384
- {{VideoFrame/timestamp}} for raw frames which correspond to this frame.
385
+ {{VideoFrame/timestamp}} for raw frames which correspond to this frame.
385
386
</p>
386
387
</dd>
387
388
<dt>
@@ -394,6 +395,15 @@ dictionary RTCEncodedVideoFrameMetadata {
394
395
that reflects the sampling instant of the first octet in the RTP data packet.
395
396
</p>
396
397
</dd>
398
+ <dt>
399
+ <dfn dict-member>mimeType</dfn> <span class="idlMemberType"> DOMString</span>
400
+ </dt>
401
+ <dd>
402
+ <p>
403
+ The codec MIME media type/subtype defined in the IANA media types registry
404
+ [[!IANA-MEDIA-TYPES]] , e.g. video/VP8.
405
+ </p>
406
+ </dd>
397
407
</dl>
398
408
399
409
@@ -473,6 +483,7 @@ dictionary RTCEncodedAudioFrameMetadata {
473
483
sequence<unsigned long> contributingSources;
474
484
short sequenceNumber;
475
485
unsigned long rtpTimestamp;
486
+ DOMString mimeType;
476
487
};
477
488
</pre>
478
489
### Members ### {#RTCEncodedAudioFrameMetadata-members}
@@ -525,6 +536,15 @@ dictionary RTCEncodedAudioFrameMetadata {
525
536
that reflects the sampling instant of the first octet in the RTP data packet.
526
537
</p>
527
538
</dd>
539
+ <dt>
540
+ <dfn dict-member>mimeType</dfn> <span class="idlMemberType"> DOMString</span>
541
+ </dt>
542
+ <dd>
543
+ <p>
544
+ The codec MIME media type/subtype defined in the IANA media types registry
545
+ [[!IANA-MEDIA-TYPES]] , e.g. audio/opus.
546
+ </p>
547
+ </dd>
528
548
</dl>
529
549
530
550
## <dfn interface>RTCEncodedAudioFrame</dfn> interface ## {#RTCEncodedAudioFrame-interface}
0 commit comments