#websocket audio streaming

1 messages · Page 1 of 1 (latest)

floral tangle
#

i have been facing a problem its an audio streaming using websocket after one turn there isnt any audio receiving but server is working fine what might be the issue?

half pier
#

I would use WebRTC for streaming audio

floral tangle
#

Why webrtc could you explain and did you find any issue in my code?

half pier
#

webrtc is built for streaming media. But I see you are doing a chat bot. I'm not seeing anything obviously wrong. As long as the server is sending the audio data through json this script should play it.

floral tangle
#

But it doesnt play sometime

#

Idont know what's the issue

floral tangle
half pier
floral tangle
#

Sometimes it's works perfectly

#

Sometimes after one turn completed the input audio sents and gives transcription return but not getting the audio or transcription of output isnt getting