Restreams

List a station's restreams

GET
https://api.tunio.ai/v1/stream/{stream_id}/restreams

The station's restreams to external platforms (YouTube, Twitch, Kick, Facebook, VK, Rutube, Telegram, any RTMP server) with their live state: status is inactive, starting or running. A failing restream keeps status starting and carries error_code (target_rejected: the platform refuses the stream, usually a wrong or inactive stream key; target_unreachable: wrong server URL; audio_unavailable; video_unavailable; unknown), failed_attempts and last_running_at. The stream key is never returned, only key_hint (its last 4 characters). limits tells how many restreams the plan allows and the highest background resolution.

路径参数

名称类型说明
stream_idRequiredstringStream UUID

响应

名称类型说明
itemsarray
The station's restreams.
[item]Requiredobject
-
limitsobject
What the station owner's plan allows; null when the limits could not be loaded.
max_resolutionstring
Highest background resolution a restream may send: 720, 1080, 2k or 4k.
max_restreamsinteger
Number of restreams the plan allows across all the account's stations.
unlimitedboolean
True when the restream count is not limited.
usedinteger
Number of restreams the account has across all its stations.
successboolean
Always true.
名称类型说明
messagestring
Error code or human-readable error details.
successboolean
Always false for error payloads.
名称类型说明
messagestring
Error code or human-readable error details.
successboolean
Always false for error payloads.
名称类型说明
messagestring
Error code or human-readable error details.
successboolean
Always false for error payloads.
名称类型说明
messagestring
Error code or human-readable error details.
successboolean
Always false for error payloads.