Client-Server Interaction
Initialization
Clients connect to the server via WebSocket and send an initial JSON message to establish the session with necessary parameters like language and task.
Audio Streaming
Clients continuously send audio data in binary format to the server. The server processes the audio data in real-time and returns transcribed text segments.
Authentication
Clients can optionally send an auth
field in the initial message for authentication purposes. Unauthorized clients will be disconnected.
Disconnection
The server will send a disconnect message when the session ends or if the maximum connection time is reached.