diff --git a/core/util/browser.js b/core/util/browser.js index 4eba4659..c613a7e9 100644 --- a/core/util/browser.js +++ b/core/util/browser.js @@ -183,7 +183,9 @@ async function _checkWebCodecsH264DecodeSupport() { return true; } -_checkWebCodecsH264DecodeSupport().then(result => { +// FIXME: Avoid top-level await due to a Chromium bug where Decoder.flush() +// can hang indefinitely on some Android devices, blocking module evaluation. +_checkWebCodecsH264DecodeSupport().then((result) => { supportsWebCodecsH264Decode = result; });