Infomaniak Streaming Radio icon

Infomaniak Streaming Radio

Interact with Infomaniak Streaming Radio API

Actions141

Streams → Get Actual Bitrate

AI-generated

Summary

Retrieve the actual bitrate of a specified stream.

Inputs

  • authentication — Authentication method (OAuth2 or API Key) used for the request.
  • path_radio_product_id (required) — The ID of the radio product containing the stream.
  • path_station_id (required) — The ID of the station that hosts the stream.
  • path_stream_id (required) — The ID of the specific stream to query.
  • returnFullResponse — If true, the entire API response is returned; otherwise only the bitrate is returned.

Output shape

numeric bitrate value in bits per second

When returnFullResponse is false, the operation returns a single number; when true, the full API payload is returned, which may include additional fields.

Examples

Example 1: Get bitrate for a known stream using OAuth2

authentication: OAuth2; path_radio_product_id: 12; path_station_id: 45; path_stream_id: 789; returnFullResponse: false

Example 2: Fetch the raw response including metadata

authentication: API Key; path_radio_product_id: 12; path_station_id: 45; path_stream_id: 789; returnFullResponse: true

Example 3: Error handling when an invalid stream ID is supplied

authentication: OAuth2; path_radio_product_id: 12; path_station_id: 45; path_stream_id: 0; (default returns error)

Links

Discussion