Home
Speech to Text Technology
Handle Connection Errors and Timeouts in Streaming Transcription

Handle Connection Errors and Timeouts in Streaming Transcription

Rev AI's Streaming Speech-to-Text API enables real-time transcription for streaming audio. It can be used with both WebSocket and RTMP streams, and has a

Written by:
Vikram Vaswani
May 8, 2022
Back,Rear,View,Young,Asian,Woman,Employee,Work,From,Home
table of contents
Hungry For More?

Luckily for you, we deliver. Subscribe to our blog today.

Thank You for Subscribing!

A confirmation email is on it’s way to your inbox.

Share this post

Rev AI’s Streaming Speech-to-Text API enables real-time transcription for streaming audio. It can be used with both WebSocket and RTMP streams, and has a time limit of 3 hours per stream.

While this is more than sufficient for most scenarios, there are cases where live streams can run longer than 3 hours – for example, live transcription of commentary for a day-long sporting event. When this happens, the recommended practice is to initialize a new concurrent connection to the API and switch to it.

This sounds simple but in practice, application developers often struggle with implementing it. Two of the most common problems we’ve heard about from developers are:

  • Losing audio data during the switchover
  • Re-aligning transcript timestamps correctly to the audio stream

If you’ve ever found yourself in this situation, read our tutorial on recovering from connection errors and timeouts in Rev AI streaming sessions. It proposes solutions for the above problems and includes sample code that you can adapt for your specific use case. And if you found it helpful, don’t forget to write in and tell us!

Topics:
No items found.

Heading

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.

Block quote

Ordered list

  1. Item 1
  2. Item 2
  3. Item 3

Unordered list

  • Item A
  • Item B
  • Item C

Text link

Bold text

Emphasis

Superscript

Subscript

Subscribe to the Rev Blog

Lectus donec nisi placerat suscipit tellus pellentesque turpis amet.

Share this post

Subscribe to The Rev Blog

Sign up to get Rev content delivered straight to your inbox.