Open chebum opened 1 month ago
All these exceptions were raised by the VideoEncoder object (Google implementation). You should address this with the chromium team (https://issues.chromium.org/issues).
It seems like VideoEncoder.isConfigSupported()
is returning an incompatible config.
The demo app crashes when being used in Chrome 129.0.6668.101 on a MacBooks with Apple M3 processor.
A call to
VideoCodec.encode
fails with the following error:Encoding error. (Failed to initialize video encode accelerator.)
Here is a screenshot of the console output, including VideoCodec config returned by the
getConfigs
function.Software encoding (
hardwareAcceleration = "prefer-software"
) works properly.Is there something I can try to solve the problem?