Skip to content

Releases: romot-co/webcodecs-encoder

v0.3.2

07 Feb 06:06

Choose a tag to compare

Added

  • Added advanced WebCodecs options: video.codecString, audio.codecString, video.quantizer, video.avc.format, video.hevc.format, audio.aac.format.
  • Exported helper types for codec-specific bitstream format options.

Improved

  • Extended canEncode() probing to include codec strings and codec-specific option blocks.
  • Applied and sanitized codec-specific encoder overrides in worker initialization.
  • Added configurable worker URL via WEBCODECS_WORKER_URL / window.__WEBCODECS_WORKER_URL__.

Fixed

  • Fixed audio-only initialization to skip unnecessary video initialization.
  • Fixed AudioData lifecycle handling to ensure close after encode attempts.
  • Improved worker error propagation including early errors before handler registration.

Tests

  • Added tests for codec option parsing/forwarding, audio-only initialization, and worker error handling paths.