When the request has been set up and the service is ready to accept audio, the client can start sending data by using binary messages. The binary data messages can be of arbitrary size and can be sent at a variable rate, but for most applications a rate of 4 sends per second will be optimal. Samples from the two audio channels must be interleaved. A timeout will incur in case no audio data is received by the service for at most 30 seconds. This will automatically signal the end of the processing and subsequent attempts to transmit data after the timeout will be ignored.
Results are sent back to client using the same websockets connection as JSON text messages. For the JSON schema of a result message, please consult Interim results specification
Updated less than a minute ago