anthumchris / fetch-stream-audio

Low Latency web audio playback examples for decoding audio streams in chunks with Fetch & Streams APIs
https://fetch-stream-audio.anthum.com
MIT License
378 stars 23 forks source link

Propagate Web Worker errors to main thread #3

Closed anthumchris closed 4 years ago

anthumchris commented 6 years ago

Web worker was introduced to decode WAV. Ensure all errors occurring in worker are propagated to the main ReadableStreamDefaultReader.read() caller.

anthumchris commented 4 years ago

Fixed via https://github.com/AnthumChris/fetch-stream-audio/blob/master/src/js/modules/audio-stream-player.mjs#L26