curl --request GET \
--url https://api.mottostreaming.com/streaming/live_streams/v1/{live_stream_id} \
--header 'Authorization: Bearer <token>'{
"live_stream": {
"project_id": "<string>",
"name": "<string>",
"region": "REGION_UNSPECIFIED",
"id": "<string>",
"rtmp_ingest_id": "<string>",
"video_id": "<string>",
"simulcasts": [
{
"id": "<string>",
"name": "<string>",
"status": "SIMULCAST_STATUS_UNSPECIFIED",
"rtmp_target": {
"url": "<string>",
"stream_key": "<string>"
},
"srt_target": {
"url": "<string>"
},
"is_external": true
}
],
"accept_input": true,
"priority": "<string>",
"rtmp_ingest_url": "<string>",
"srt_ingest_url": "<string>"
}
}GetLiveStream
Returns information about the live stream.
curl --request GET \
--url https://api.mottostreaming.com/streaming/live_streams/v1/{live_stream_id} \
--header 'Authorization: Bearer <token>'{
"live_stream": {
"project_id": "<string>",
"name": "<string>",
"region": "REGION_UNSPECIFIED",
"id": "<string>",
"rtmp_ingest_id": "<string>",
"video_id": "<string>",
"simulcasts": [
{
"id": "<string>",
"name": "<string>",
"status": "SIMULCAST_STATUS_UNSPECIFIED",
"rtmp_target": {
"url": "<string>",
"stream_key": "<string>"
},
"srt_target": {
"url": "<string>"
},
"is_external": true
}
],
"accept_input": true,
"priority": "<string>",
"rtmp_ingest_url": "<string>",
"srt_ingest_url": "<string>"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
OK
Show child attributes
REGION_UNSPECIFIED, REGION_AF, REGION_AS, REGION_EU, REGION_NA, REGION_OC, REGION_SA Show child attributes
Id of the simulcast
Name of the simulcast
SIMULCAST_STATUS_UNSPECIFIED, SIMULCAST_STATUS_IDLE, SIMULCAST_STATUS_STARTING, SIMULCAST_STATUS_ACTIVE, SIMULCAST_STATUS_STOPPED, SIMULCAST_STATUS_FAILED If true, this indicates the simulcast is configured to operate in a third-party environment like Cloudflare. This means that some features may not be available.
Accept input from the input source.
If set to false, the live stream will not accept input from the input source
regardless of the input source's state (e.g., the input source is live).
If set to true, the live stream will accept input from the input source
if the input source is live.
By default, it is set to true.
Priority of the live stream. This is used to sort the live streams and to discover the next live stream to run when multiple streams are connected to a shared ingest.
An RTMP ingest URL that can be used to stream to this live stream.
When this is provided, this should be used instead of the the streaming details associated with the ingest_id field(s).
An SRT ingest URL that can be used to stream to this live stream.
When this is provided, this should be used instead of the the streaming details associated with the ingest_id field(s).