Skip to content

Dev wasm - #96

Merged
akashskypatel merged 198 commits into
masterfrom
dev-wasm
Oct 19, 2026
Merged

akashskypatel merged 198 commits into
masterfrom
dev-wasm

Conversation

@akashskypatel

@akashskypatel akashskypatel commented Oct 7, 2026 •

Copy link
Copy Markdown
Owner

Version 0.11.2

  • Expanded WebAssembly support for library builds and runtime integration.
  • Improved callback safety across native and WebAssembly execution, including
    thread-safe callback state, dedicated main-runtime dispatch, and failure
    handling for logs, statistics, and completion callbacks.
  • Preserved opaque-handle per-session APIs while making FFmpeg, FFprobe, FFplay,
    and media-information callbacks safe across Wasm pthreads.
  • Added stable session-ID callback transport and JavaScript callback registration
    with runtime function-table growth support and module-lifetime slot ownership.
  • Added deterministic Wasm load failures, non-interactive browser stdin handling,
    and headless native/Web callback regression coverage for delivery, lifecycle,
    ordering, and table behavior.
  • Bump FFmpeg version to v9.0.2
  • Build identity: getVersion() now appends SemVer build metadata with the short source revision (0.11.2+g<hash>, plus .dirty for uncommitted changes), and getBuildDate() returns a UTC timestamp (YYYYMMDDTHHMMSSZ, honoring SOURCE_DATE_EPOCH). The hash appears only in the runtime version; release tags, titles, artifact names, pkg-config and platform package versions keep the numeric version (e.g. 0.11.2).

Wait for shared byte capacity, cap ranges across open streams, and keep successful reads independent of deferred Fetch destruction. Propagate Wasm traps while handling browser request errors, defer main-thread close retries, and keep URL log redaction Wasm-only.

Add reproducible media fixtures and browser regressions for two-input packet completeness, Fetch failure paths, generated audio callbacks, and real completion callbacks after host-safe cancellation.
Keep the EIO and error-message assertions intact while allowing up to five seconds for worker log delivery. Preserve the failed full-matrix record as evidence.
- Added is_linux and is_macos helper functions
- Adjusted default platform list based on OS
- Defined VALID_NON_APPLE combining non‑Apple platforms
- Updated script permissions (chmod +x) for executables
- Refactored platform parsing to use new helpers
- Introduce --bundle-name=NAME CLI flag
- Export bundle_name from runner args
- get_bundle_type returns custom name if set
- Generate random custom name when absent
- Disable several libs in WASM build config
- Added CONFIG_WASM enabling OpenSSL
- Reformatted CONFIG_BASE for readability
- Updated script to support WebAssembly builds
- Removed Vulkan, libplacebo, libmfx from deps-wasm
- Disabled Vulkan, libplacebo, libmfx in variable.sh
- Dropped avisynth, decklink, frei0r, lv2
- Cleared libcdio and LV2 dependencies from map
- Updated librubberband deps to none
@akashskypatel
akashskypatel marked this pull request as ready for review October 19, 2026 02:07
@akashskypatel
akashskypatel merged commit 27f8a75 into master Oct 19, 2026
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant