Closed Borewit closed 1 month ago
@pcbowers The ReadableStream must be indeed be a byte stream. Why fetch does not provide you one, I do not know.
To see a working Web stream in action, try: https://audio-tag-analyzer.netlify.app/
Hmm, don't we still need to export parseWebStream
to make it usable?
https://github.com/Borewit/music-metadata/blob/v9.0.0/lib/index.ts#L11
Hmm, don't we still need to export
parseWebStream
to make it usable?https://github.com/Borewit/music-metadata/blob/v9.0.0/lib/index.ts#L11
I would say it would, good catch!
Furthermore, on use of this code:
I get this error:
I wish I knew more about it or else I would have debugged further! Leaving this here instead of on a new issue since I think fixing this would solve "avoid parsing entire file"
Originally posted by @pcbowers in https://github.com/Borewit/music-metadata/issues/2135#issuecomment-2224504220