CreateLiveStream
Creates a new live stream.
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>"
}'
{
"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>"
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
OK
The response is of type object
.
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>"
}'
{
"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>"
}
}
CreateLiveStream
Creates a new live stream.
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>"
}'
{
"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>"
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
OK
The response is of type object
.
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>"
}'
{
"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>"
}
}