Files
SubMiner/vendor/hachidori/extension/media-limits.js
T
sudacode d9fdc7ef6d feat(dictionary): add Hachidori backend support
- Add backend selection, setup gating, Anki integration, and external host support
- Add launcher flags, documentation, packaging, and focused tests
- Open on-demand overlay modals on the first attempt
2026-09-22 00:21:19 -07:00

11 lines
478 B
JavaScript

// Shared media payload limits. Firefox keeps these validators without shipping
// the Chrome-only recording and encoding implementation.
// SPDX-License-Identifier: GPL-3.0-or-later
export const MAX_LIVE_FRAME_BYTES = 64 * 1024 * 1024;
export const MAX_PINNED_FRAME_BYTES = 32 * 1024 * 1024;
export const MAX_FRAME_BYTES = 256 * 1024;
export const MAX_WAV_BYTES = 1024 * 1024;
export const CAPTURE_SAMPLE_RATE = 48_000;
export const MAX_ANIMATED_AVIF_BYTES = 4 * 1024 * 1024;