mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-17 15:24:19 +00:00
The unclamped-volume shim reached for `HTMLMediaElement.prototype` before checking that a DOM exists. The renderer's probe body is serialized into the page in production but executed directly by tests that stand in for a Page, so under the bun lane it threw `ReferenceError: HTMLMediaElement is not defined` instead of falling back. Both copies now degrade to the clamped path when the constructor is absent, which is the only correct answer off-browser.