What is a stream duration?
Stream duration refers to the number of real-world seconds that have passed since the WebSocket connection was established.
What is an audio duration?
Audio duration refers to the number of seconds of audio that have been sent over the WebSocket connection.
What are the default API limits for Web Socket Protocol?
Streaming concurrency limit is 10 streams.
Time limit per stream is 3 hours.
Do we support RTMP (Real Time Messaging Protocol)?
Yes
What are the default API limits for RTMP?
Streaming concurrency limit is 10 streams.
Time limit per stream is 3 hours.
Can we recover from ‘stream longer than 3 hours’ or other timeouts/connection errors?
Yes, we have a code sample using our Node SDK that demonstrates how to recover from connection errors and timeouts here: https://docs.rev.ai/api/streaming/code-samples/#recover-from-connection-errors-and-timeouts-during-a-stream
How many credits are needed for the initial connection?
On initial connection, each streaming session attempts to place a hold on 10 minutes of credits. If the client does not have 10 minutes of credits to hold, the WebSocket returns a 4003 insufficient credits close message. Whenever more than 5 minutes of real-time (stream duration) has passed, Rev AI attempts to place a hold on another 5 minutes of credits. Again, if the client runs out of credits, the WebSocket connection is closed with a 4003 insufficient credits close message. Enabling auto-reload is encouraged to prevent running out of credits mid-stream.
How is streaming billed?
Once the connection is closed, the audio duration and stream duration are finalized. The hold is removed on any unused credits. Any extra credits with a temporary hold will be returned to the customer and available for other transcription jobs. You will be billed for the larger of the two with a minimum of 15 seconds.