webcast / webcast.js

API and documentation for the webcast websocket protocol
MIT License
79 stars 26 forks source link

webcast.js:359 Uncaught TypeError: Cannot read property 'length' of undefined #12

Closed NTShop closed 7 years ago

NTShop commented 7 years ago

When trying to use mono mode (1 audio channel setting) from Webcaster then webcast.js throws an error that repeats endlessly until webcaster is told to stop streaming:

webcast.js:359Uncaught TypeError: Cannot read property 'length' of undefined Webcast.Encoder.Resample.Resample.concat @ webcast.js:359 Webcast.Encoder.Resample.Resample.encode @ webcast.js:368 self.onmessage @ c36cbe1d-94cf-4466-ba42-5d237f6de5dd:16

To reproduce: Load webcaster, in settings choose mono, click Start Streaming button, monitor JS console to see the errors.

toots commented 7 years ago

Fixed, thanks for reporting!