Skip to content

Commit 1b0b4c3

Browse files
authored
Merge pull request #81 from youennf/expose-encoded-frame-in-worker
Expose RTCEncodedAudioFrame and RTCEncodedVideoFrame in DedicatedWorker contexts
2 parents 7360ba2 + ab4f208 commit 1b0b4c3

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
@@ -258,7 +258,7 @@ dictionary RTCEncodedVideoFrameMetadata {
258258

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

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

0 commit comments

Comments
 (0)