Skip to main content

Supported audio formats

The API supports common combinations of streaming codecs and containers with a single-channel (mono) audio stream. For the detailed list of supported input audio formats, see Source Media Content Type. For supported output audio formats, see Target Media Content Type.

Session limits

  • Maximum 5 translation targets per session (including translated speech targets)
  • Maximum 1 translated speech target per session
  • Audio chunk size: should not exceed 100 kilobytes or 1 second duration
  • Recommended chunk duration: 50-250 milliseconds for low latency
  • Audio stream speed: maximum 2x real-time
  • Timeout: if no data is received for 30 seconds, the session is terminated
  • Maximum connection duration: after 1 hour, the connection is closed. Establish a new connection by reconnecting to the session
  • Using any given token more than once to establish a WebSocket connection terminates the associated session immediately for security reasons
If you need more translation targets or translated speech targets than these limits allow, open multiple concurrent sessions over the same source audio. For language availability, see Supported Voice Languages.