Skip to content

Commit

Permalink
Merge pull request #26 from youennf/expose-mediastream-to-workers
Browse files Browse the repository at this point in the history
Expose MediaStream in workers
  • Loading branch information
jan-ivar authored Apr 25, 2024
2 parents 48adb8a + fd03329 commit 7ff754a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1676,5 +1676,17 @@ <h3>Examples</h3>
</pre>
</section>
</section>
<section>
<h2>MediaStream in workers</h2>
<div>
<p>{{MediaStreamTrack}}'s objects are exposed to workers, so can do {{MediaStream}}'s objects.
<div>
<p>The WebIDL changes are the following:
<pre class="idl"
>[Exposed=(Window,Worker)]
partial interface MediaStream {
};</pre>
</div>
</section>
</body>
</html>

0 comments on commit 7ff754a

Please sign in to comment.