Skip to content

Commit e15dcda

Browse files
authored
Add Serializable attributes to encoded video frames
Fixes: 181
1 parent 49f981b commit e15dcda

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ dictionary RTCEncodedVideoFrameMetadata {
381381
<pre class="idl">
382382
// New interfaces to define encoded video and audio frames. Will eventually
383383
// re-use or extend the equivalent defined in WebCodecs.
384-
[Exposed=(Window,DedicatedWorker)]
384+
[Exposed=(Window,DedicatedWorker), Serializable]
385385
interface RTCEncodedVideoFrame {
386386
readonly attribute RTCEncodedVideoFrameType type;
387387
readonly attribute unsigned long timestamp;
@@ -487,7 +487,7 @@ dictionary RTCEncodedAudioFrameMetadata {
487487

488488
## <dfn interface>RTCEncodedAudioFrame</dfn> interface ## {#RTCEncodedAudioFrame-interface}
489489
<pre class="idl">
490-
[Exposed=(Window,DedicatedWorker)]
490+
[Exposed=(Window,DedicatedWorker), Serializable]
491491
interface RTCEncodedAudioFrame {
492492
readonly attribute unsigned long timestamp;
493493
attribute ArrayBuffer data;

0 commit comments

Comments
 (0)