Skip to content

Releases: eshaz/mse-audio-wrapper

Sample accurate WEBM timestamps

07 Mar 18:12
3a11659
Compare
Choose a tag to compare

Features

Breaking Changes

  • Default maxFramesPerSegment to 50.
    • This helps with Vorbis clicks and pops in Firefox.
  • Default to webm for preferred container
    • Webm is able to play Opus streams without skips in Chrome and is better suited as a default option.

Fixes

  • Use sample rate as TimestampScale for sample accurate timing on Webm timestamps.
    • Resolves #5
  • Vorbis clicks and pops were partially because of rounding errors when calculating the timestamp based on milliseconds.
    • Resolves #4

Safari compatibility for fMP4

26 Feb 00:14
Compare
Choose a tag to compare
1.1.1

feat: patch release

Add onMimetype callback

23 Feb 02:21
e1131a4
Compare
Choose a tag to compare
  • Add onMimeType callback to notify consumer when the output mimetype has been determined while still reading data.

Add WEBM support

22 Jan 22:56
c5560d0
Compare
Choose a tag to compare

Breaking Changes

  • NPM package from isobmff-audio to mse-audio-wrapper
  • Rename repository isobmff-audio to mse-audio-wrapper
  • mimeType getter for Ogg streams is available only after the Ogg identification header has been read

Features

  • Adds WEBM for Opus and Vorbis codecs

Options

  • Adds mimeType getters
  • Adds preferredContainer option to choose between ISOBMFF or WEBM for codecs that support both (i.e. Opus)
  • Adds onCodecUpdate callback option that is called when the codec header information has changed
  • Adds maxFramesPerSegment option to limit how many frames can be returned in a single media segment. Fixes an issue where over roughly 50 blocks in a cluster causes errors for WEBM.

Performance

  • Adds caching for codec headers that have already been parsed
  • Simplifies TypedArray operations to shared functions, and other various minor enhancements

Fixes

  • Fixes header mutation issue with codecs in an ogg container where the same object reference was being mutated by mistake
  • Fixes issue where parser drops frames if there isn't enough data to completely parse a header
  • Fixes ogg parsing when there is extra data not described in the page segment table

Known issues

  • Vorbis skips and pops intermittently in Firefox, but works fine in Chrome. An issue will be added to address this.

Fix Opus sample lengths in trun box

30 Dec 22:32
Compare
Choose a tag to compare
0.1.1

fix: Opus sampleLength in trun box

Add Ogg Opus Support

30 Dec 05:47
565f3e2
Compare
Choose a tag to compare
  • Add Ogg Opus support
  • Significantly speed up FLAC parsing by using Ogg lacing values to determine frame size

Initial NPM Release

30 Dec 05:45
5715b26
Compare
Choose a tag to compare
  • Parses (MP3, AAC, or OGG Flac) and outputs fragmented ISOBMFF