SDK JS
    Preparing search index...

    Interface WasmHostInit

    Overrides for loading + initializing the vendored BVC decoder wasm.

    In the browser, leaving this empty lets the bundler fetch the wasm asset that ships alongside the package (or the URL set via core's configure``({ wasmBaseUrl }), resolved by configuredWasmUrl). Supply wasmBytes or wasmUrl for Node/Bun, or any host where the asset can't be auto-resolved (e.g. inside a worker, or a cross-origin CDN page). Resolution precedence: wasmByteswasmUrl → the SDK-configured wasmBaseUrl → the package-relative default. The module is a process singleton, initialized once.

    interface WasmHostInit {
        wasmBytes?: BufferSource;
        wasmUrl?: string | URL;
    }
    Index

    Properties

    Properties

    wasmBytes?: BufferSource

    Explicit wasm bytes (Node/Bun/worker). Takes precedence over wasmUrl.

    wasmUrl?: string | URL

    Explicit wasm URL (Node/Bun, or to override the default asset resolution).