Releases: eshaz/mse-audio-wrapper
Releases · eshaz/mse-audio-wrapper
Sample accurate WEBM timestamps
Features
- Extract codec parsing to it's own library: codec-parser
- Resolves #7
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
Safari compatibility for fMP4
1.1.1 feat: patch release
Add onMimetype callback
- Add onMimeType callback to notify consumer when the output mimetype has been determined while still reading data.
Add WEBM support
Breaking Changes
- NPM package from
isobmff-audio
tomse-audio-wrapper
- Rename repository
isobmff-audio
tomse-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
0.1.1 fix: Opus sampleLength in trun box
Add Ogg Opus Support
- Add Ogg Opus support
- Significantly speed up FLAC parsing by using Ogg lacing values to determine frame size
Initial NPM Release
- Parses (MP3, AAC, or OGG Flac) and outputs fragmented ISOBMFF