4 ms·
Supposing this is correct, you can add the json with cat: arecord -fdat | cat init.json - | wsta ws://
by nindwen 10y ago
Supposing this is correct, you can add the json with cat: arecord -fdat | cat init.json - | wsta ws://
- nfriedly 10y agoYep, that sounds like the magic I was looking for. I'll try it out later today.
- esphen 10y agoHoller if it works, that sounds pretty awesome!
- deleted 10y ago[deleted]
- nfriedly 10y agoI tried a few different things and couldn't make it work. I think the problem is that the audio data is getting sent as a text websocket message rather than binary message. I got a whole bunch of "error: stream did not contain valid UTF-8" and "No JSON object could be decoded" errors that I think both came from the remote end.