Skip to content

Commit

Permalink
FF123 Expr - Web Codecs API - video interfaces (#32233)
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishwillee committed Feb 20, 2024
1 parent 87e2f1a commit 60e5d26
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
42 changes: 42 additions & 0 deletions files/en-us/mozilla/firefox/experimental_features/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2064,6 +2064,48 @@ Notifications have the [`requireInteraction`](/en-US/docs/Web/API/Notification/r
</tbody>
</table>

### Web Codecs API

The [Web Codecs API](/en-US/docs/Web/API/WebCodecs_API) gives web developers low-level access to the individual frames of a video stream and chunks of audio.
The following interfaces are supported (on Linux desktop only): [`VideoEncoder`](/en-US/docs/Web/API/VideoEncoder), [`VideoDecoder`](/en-US/docs/Web/API/VideoDecoder), [`EncodedVideoChunk`](/en-US/docs/Web/API/EncodedVideoChunk), [`VideoFrame`](/en-US/docs/Web/API/VideoFrame), [`VideoColorSpace`](/en-US/docs/Web/API/VideoColorSpace).
([Firefox bug 1874445](https://bugzil.la/1874445)).

<table>
<thead>
<tr>
<th>Release channel</th>
<th>Version changed</th>
<th>Enabled by default?</th>
</tr>
</thead>
<tbody>
<tr>
<th>Nightly</th>
<td>123</td>
<td>Yes. Linux desktop only.</td>
</tr>
<tr>
<th>Developer Edition</th>
<td>123</td>
<td>No</td>
</tr>
<tr>
<th>Beta</th>
<td>123</td>
<td>No</td>
</tr>
<tr>
<th>Release</th>
<td>123</td>
<td>No</td>
</tr>
<tr>
<th>Preference name</th>
<td colspan="2"><code>dom.media.webcodecs.enabled</code></td>
</tr>
</tbody>
</table>

## Security and privacy

### Block plain text requests from Flash on encrypted pages
Expand Down
6 changes: 6 additions & 0 deletions files/en-us/mozilla/firefox/releases/123/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,12 @@ The `IDBLocaleAwareKeyRange` interface has been removed ([Firefox bug 1730706](h

These features are newly shipped in Firefox 123 but are disabled by default. To experiment with them, search for the appropriate preference on the `about:config` page and set it to `true`. You can find more such features on the [Experimental features](/en-US/docs/Mozilla/Firefox/Experimental_features) page.

- **Web Codecs API:** `dom.media.webcodecs.enabled`.

The video interfaces of the [Web Codecs API](/en-US/docs/Web/API/WebCodecs_API) are supported on Linux desktop on Nightly.
These include: [`VideoEncoder`](/en-US/docs/Web/API/VideoEncoder), [`VideoDecoder`](/en-US/docs/Web/API/VideoDecoder), [`EncodedVideoChunk`](/en-US/docs/Web/API/EncodedVideoChunk), [`VideoFrame`](/en-US/docs/Web/API/VideoFrame), [`VideoColorSpace`](/en-US/docs/Web/API/VideoColorSpace).
([Firefox bug 1874445](https://bugzil.la/1874445)).

## Older versions

{{Firefox_for_developers(122)}}

0 comments on commit 60e5d26

Please sign in to comment.