The websocket connection has no timeout limits . And the connection may not stay open indefinitely, in normal cases the connection can keep open, but there are cases when intermittent network issues or service maintenance issues that the WebSocket connection might experience drop and reconnect
Azure Speech to Text Recognition Integration with Web PubSub
Francisco Ramos
21
Reputation points
Hi,
I have a use case of taking an incoming stream of audio data through a websocket, passing it through Azure Speech-To-Text, getting the text results back and saving them in a database.
This part is trivial, however I would like to accomplish this within Azure Web PubSub. If I can send the data through WebSocket to PubSub, are there any connection time limits on the websocket? Would the websocket stay open indefinitely while Speech-To-Text recognition runs?