Partner API base path is /api/v1 on https://api.dcast.pro. This site documents the live surface; use the Quickstart QA curls to validate keys and routes.

Multi-language live broadcasts

On the PRO and VIP plans one live stream can carry extra audio tracks next to its own sound. Each interpreter sends their audio as a separate feed to the stream's server, and every viewer picks the language they want to hear in the player. Language tracks are set up in the dashboard; the Partner API has no call for them.

What you need

  • A DCAST account on the PRO or VIP plan. On other plans the Languages tab shows a PRO mark and an Upgrade to PRO button instead of the tracks.
  • A stream that receives RTMP, SRT or WHIP. A stream started from the browser camera has no Languages tab.
  • An encoder for each interpreter (OBS or similar) that sends audio at 48 kHz, stereo: AAC over RTMP or SRT, Opus over WHIP.

Add a language

  1. In the dashboard open STREAMS and click the gear icon on the card of your stream.
  2. In the right column open the Languages tab, the last one in the row that starts with Connection.
  3. Click Add language. A track named Language 2 appears with its own connection details; each further click adds the next one.
  4. Type the name viewers will see in the player into the track's name field, for example English or Español (up to 64 characters), and press Enter or click elsewhere to save it.

Where each interpreter sends audio

  • RTMP: the same server as your main feed (the RTMP URL at the top of the tab) with the stream key on the track's card. It is your stream key with the track number added at the end, for example _a2.
  • SRT: the SRT URL on the track's card, which already contains the track's stream ID. If the encoder asks for the stream ID separately, copy the Stream ID field.
  • WHIP: the WHIP URL on the track's card. It is your WHIP address with the track number added at the end, for example _a2.

Only the sound of a track is used. Set the encoder's audio to 48 kHz, stereo, 128–192 kbps, and send no video or the smallest picture the encoder allows (for example 320×180 at 200 kbps). Audio in any other format is replaced with silence.

An interpreter can start before, together with or after your main feed. The dot beside the track number lights up while audio arrives, and its tooltip shows the incoming bitrate; No signal means nothing is arriving.

What viewers get

Once your broadcast is running with at least one language added, the player on the watch page shows a language button next to the settings gear. Its menu lists Original, the sound of your main feed, and every language you added. Each viewer switches for themselves.

A language added during the broadcast reaches a viewer after they reload the watch page.

Limits

  • A stream holds at most 16 extra tracks. Add language also stays inactive until the stream has its stream key.
  • To stop offering a language, click the bin icon on its card. Its key no longer accepts new connections.

Step by step

The same steps, with common problems and their fixes, are in the help centre: Add language tracks to your stream. Creating and running the stream itself is described in Streams.

Multi-language live broadcasts — dcast.pro API docs