w3c / webcodecs

WebCodecs is a flexible web API for encoding and decoding audio and video.

Home Page:https://w3c.github.io/webcodecs/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

VideoEncoder is unsupported in Android Chrome and other mobile browsers

purplekidlouis opened this issue · comments

commented

Hi, I just test VideoEncoder with if ('VideoEncoder' in window) {console.log('VideoEncoder is supported');} in Android Chrome, Edge, Opera. It seems to be unsupported in all the mobile browsers, but the VideoFrame is supported.
If there is a correct way to call VideoEncoder, welcome to point out, thanks!
The version of Android Chrome is 108.0.5359.128.

VideoEncoder is only available on secure context, so if you're just opening the new tab page and using inspect to do this or hosting on http that's not localhost/127.0.0.1/etc, you won't see it supported.