Get Started
Studio API
- Introduction
- Streaming
- Live Streams
- Simulcasts
- Clips
- Videos
- Video Protection
- Configurations
- Assets
- CMS
- OTT
- Monetization
- IAM
- Integration
- Analytics
Content Delivery API
Deep dive
Live Streams
Create live stream
CreateLiveStream
Creates a new live stream.
POST
/
streaming
/
live_streams
/
v1
Copy
curl --request POST \
--url https://api.mottostreaming.com/streaming/live_streams/v1 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"project_id": "<string>",
"name": "<string>",
"region": "REGION_UNSPECIFIED",
"rtmp_ingest_id": "<string>",
"simulcasts": [
{
"name": "<string>",
"rtmp_target": {
"url": "<string>",
"stream_key": "<string>"
},
"srt_target": {
"url": "<string>"
}
}
],
"accept_input": true,
"priority": "<string>"
}'
Copy
{
"live_stream": {
"id": "<string>",
"project_id": "<string>",
"name": "<string>",
"region": "REGION_UNSPECIFIED",
"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>"
}
}
],
"accept_input": true,
"priority": "<string>"
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Response
200
application/json
OK
The response is of type object
.
Copy
curl --request POST \
--url https://api.mottostreaming.com/streaming/live_streams/v1 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"project_id": "<string>",
"name": "<string>",
"region": "REGION_UNSPECIFIED",
"rtmp_ingest_id": "<string>",
"simulcasts": [
{
"name": "<string>",
"rtmp_target": {
"url": "<string>",
"stream_key": "<string>"
},
"srt_target": {
"url": "<string>"
}
}
],
"accept_input": true,
"priority": "<string>"
}'
Copy
{
"live_stream": {
"id": "<string>",
"project_id": "<string>",
"name": "<string>",
"region": "REGION_UNSPECIFIED",
"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>"
}
}
],
"accept_input": true,
"priority": "<string>"
}
}
Assistant
Responses are generated using AI and may contain mistakes.