@@ -447,57 +447,6 @@ dictionary RTCEncodedFrameMetadata {
447447 </dd>
448448</dl>
449449
450- ## <dfn enum>RTCEncodedVideoFrameType</dfn> dictionary ## {#RTCEncodedVideoFrameType}
451- <pre class="idl">
452- // New enum for video frame types. Will eventually re-use the equivalent defined
453- // by WebCodecs.
454- enum RTCEncodedVideoFrameType {
455- "empty",
456- "key",
457- "delta",
458- };
459- </pre>
460- <table dfn-for="RTCEncodedVideoFrameType" class="simple">
461- <caption> Enumeration description</caption>
462- <thead>
463- <tr>
464- <th> Enum value</th><th> Description</th>
465- </tr>
466- </thead>
467- <tbody>
468- <tr>
469- <td>
470- <dfn enum-value>empty</dfn>
471- </td>
472- <td>
473- <p>
474- This frame contains no data.
475- </p>
476- </td>
477- </tr>
478- <tr>
479- <td>
480- <dfn enum-value>key</dfn>
481- </td>
482- <td>
483- <p>
484- This frame can be decoded without reference to any other frames.
485- </p>
486- </td>
487- </tr>
488- <tr>
489- <td>
490- <dfn enum-value>delta</dfn>
491- </td>
492- <td>
493- <p>
494- This frame references another frame and can not be decoded without that frame.
495- </p>
496- </td>
497- </tr>
498- </tbody>
499- </table>
500-
501450## <dfn dictionary>RTCEncodedVideoFrameMetadata</dfn> dictionary ## {#RTCEncodedVideoFrameMetadata}
502451<pre class="idl">
503452dictionary RTCEncodedVideoFrameMetadata : RTCEncodedFrameMetadata {
@@ -552,12 +501,11 @@ dictionary RTCEncodedVideoFrameOptions {
552501 RTCEncodedVideoFrameMetadata metadata;
553502};
554503
555- // New interfaces to define encoded video and audio frames. Will eventually
556- // re-use or extend the equivalent defined in WebCodecs.
504+ // New interfaces to define RTC specific encoded video and audio frames used by RTCRtpScriptTransform.
557505[Exposed=(Window,DedicatedWorker), Serializable]
558506interface RTCEncodedVideoFrame {
559507 constructor(RTCEncodedVideoFrame originalFrame, optional RTCEncodedVideoFrameOptions options = {});
560- readonly attribute RTCEncodedVideoFrameType type;
508+ readonly attribute EncodedVideoChunkType type;
561509 attribute ArrayBuffer data;
562510 RTCEncodedVideoFrameMetadata getMetadata();
563511};
0 commit comments