Releases: eshaz/icecast-metadata-js
Releases · eshaz/icecast-metadata-js
Icecast Metadata Player
- Initial Release
- Simple to use "drop it in" Icecast Stream with Metadata player
- Adapted from the existing React demo MSE implementation
Fix icecast-metadata-js exports / IcecastMetadataQueue enhancements
Features
- add
icyMetaInt
getter to retrieve the detected ICY metadata interval in runtime - add
onMetadataEnqueue
callback to IcecastMetadataReader
Changes
onMetadataUpdate
is called immediately on the first metadata addition. Every use case I have so far needs the first metadata update as soon as possible, so now IcecastMetadataQueue will do this by default.- Update parameters in
addMetadata
method in IcecastMetadataQueue. See the documentation for details. This is a backwards compatible change.
Fixes
- Resolves #36 to allow for standard webpack / bundler compatibility. Webpack example soon to come.
Ogg (Flac, Opus, Vorbis) metadata support
Features
- Add support for reading Vorbis Comments from Ogg streams
- Supported codecs: FLAC, Vorbis, Opus
- Add
metadataTypes
option toIcecastMetadataReader
to allow users to specify which metadata to parse:none, "icy", "ogg", or both
.
icecast-metadata-js/0.1.2
fix: correct homepage url
Detect ICY Metadata Interval (CORS workaround)
When Icy-MetaInt
can't be read from the client due to an inadequate CORS policy, IcecastMetadataReader
will attempt to detect metadata for a default of 2 seconds. See the documentation for additional details.
Initial NPM Release
Publish icecast-metadata-js to NPM (#28) * feat: publish icecast-metadata-js to npm * feat: bump icecast-metadata-js