For my use case, it's ideal that the stream start in conjunction with node and without button callbacks. Removing the buttons is simple enough, but directly calling wsac.playStream() returns the error Uncaught DOMException: Failed to execute 'send' on 'WebSocket': Still in CONNECTING state.
Resolved by moving self.start_feed(); function outside of the scope of socket.on("message"... function, but still inside of new_client(socket) function in _server.js. Comment out buttons on index.html
For my use case, it's ideal that the stream start in conjunction with node and without button callbacks. Removing the buttons is simple enough, but directly calling
wsac.playStream()
returns the errorUncaught DOMException: Failed to execute 'send' on 'WebSocket': Still in CONNECTING state.