For AudioData and VideoEncoder, it should be possible to enable webcodecs by setting dom.media.webcodecs.enabled to true in about:config.
- https://github.com/mozilla/gecko-dev/blob/af09c55c0e6253ba8f...
- https://github.com/mozilla/gecko-dev/blob/af09c55c0e6253ba8f...