Infomaniak Streaming Radio icon

Infomaniak Streaming Radio

Interact with Infomaniak Streaming Radio API

Actions141

Transcodings → Add Transcoded Stream

AI-generated

Summary

Add a transcoded stream to a radio product and station.

Inputs

  • authentication — Authentication method: OAuth2 or API Key.
  • path_radio_product_id (required) — Unique identifier (ID) of the radio product.
  • path_station_id (required) — Unique identifier (ID) of the station.
  • body_bitrate (required) — Bitrate for the new stream (e.g., 128, 192, etc.).
  • body_codec (required) — Codec for the new stream (e.g., 1, 2, 3, 4).
  • returnFullResponse — If true, the full response body is returned; otherwise only success/failure is indicated.

Output shape

a single transcoding object

Returns the created transcoding details; when returnFullResponse is false only a success indicator may be returned.

Examples

Example 1: Add a 128 kbps AAC stream using OAuth2

authentication: oauth2; path_radio_product_id: 42; path_station_id: 7; body_bitrate: 128; body_codec: 2; returnFullResponse: false

Example 2: Create a 320 kbps MP3 stream with API Key and request full response

authentication: apiKey; path_radio_product_id: 15; path_station_id: 3; body_bitrate: 320; body_codec: 1; returnFullResponse: true

Example 3: Add a 48 kbps OGG stream to a station

authentication: oauth2; path_radio_product_id: 9; path_station_id: 2; body_bitrate: 48; body_codec: 3; returnFullResponse: false

Links

Discussion