POST
/
stream
/
{id}
/
create-multistream-target
curl --request POST \
  --url https://livepeer.studio/api/stream/{id}/create-multistream-target \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "profile": "720p",
  "videoOnly": true,
  "id": "<string>",
  "spec": {
    "name": "<string>",
    "url": "rtmps://live.my-service.tv/channel/secretKey"
  }
}'
This response has no body data.

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

ID of the parent stream

Body

application/json
profile
string
required

Name of transcoding profile that should be sent. Use "source" for pushing source stream data

videoOnly
boolean
default: false

If true, the stream audio will be muted and only silent video will be pushed to the target.

id
string

ID of multistream target object where to push this stream

spec
object

Inline multistream target object. Will automatically create the target resource to be used by the created stream.