Azure Speech to Text Recognition Integration with Web PubSub

Francisco Ramos 21 Reputation points
2021-11-30T23:16:56.32+00:00

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?

Azure Web PubSub
Azure Web PubSub
An Azure service that provides real-time messaging for web applications using WebSockets and the publish-subscribe pattern.
75 questions
Azure AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
1,743 questions
0 comments No comments
{count} votes

Accepted answer
  1. Yulin Shi 76 Reputation points Microsoft Employee
    2021-12-02T06:25:41.507+00:00

    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

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.