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 ID

响应

名称类型说明
itemsarray
-
[item]Requiredobject
-
limitsobject
-
max_resolutionstring
-
max_restreamsinteger
-
unlimitedboolean
-
usedinteger
-
successboolean
-
名称类型说明
messagestring
Message contains human readable error details.
successboolean
Success is always false for error payloads.
名称类型说明
messagestring
Message contains human readable error details.
successboolean
Success is always false for error payloads.
名称类型说明
messagestring
Message contains human readable error details.
successboolean
Success is always false for error payloads.