Skip to content

Commit ab4f208

Browse files
committed
Expose RTCEncodedAudioFrame and RTCEncodedVideoFrame in DedicatedWorker contexts
1 parent 0f203e1 commit ab4f208

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
@@ -259,7 +259,7 @@ dictionary RTCEncodedVideoFrameMetadata {
259259

260260
// New interfaces to define encoded video and audio frames. Will eventually
261261
// re-use or extend the equivalent defined in WebCodecs.
262-
[Exposed=Window]
262+
[Exposed=(Window,DedicatedWorker)]
263263
interface RTCEncodedVideoFrame {
264264
readonly attribute RTCEncodedVideoFrameType type;
265265
readonly attribute unsigned long long timestamp;
@@ -272,7 +272,7 @@ dictionary RTCEncodedAudioFrameMetadata {
272272
sequence<long> contributingSources;
273273
};
274274

275-
[Exposed=Window]
275+
[Exposed=(Window,DedicatedWorker)]
276276
interface RTCEncodedAudioFrame {
277277
readonly attribute unsigned long long timestamp;
278278
attribute ArrayBuffer data;

0 commit comments

Comments
 (0)