Open eschmidbauer opened 2 months ago
interesting hack-- i added this line and it plays the chunks of audio. probably not the best implementation
I was also trying to do this, and stumbled upon https://github.com/amigniter/mod_audio_stream/issues/31 so I ended up using ESL to play the audio files 😿
it would be cool to stream WS audio directly back into the channel, much like the WS audio is streamed out of the channel
Looking at the README(
Websocket server may return JSON object containing base64 encoded audio to be played by the use
), I was under the impression that the module automatically plays the audio that is received on the websocket connection back to the call channel. Looking at the code, it appearsmod_audio_stream
only writes the chunks to file. Is there a way to automatically play those chunks of audio into the call? Thanks!