Authorizations
API key for authentication. Make sure to include the word apikey
, followed by a single space and then your token.
Example: apikey 1234$abcdef
Path Parameters
Broadcast ID.
IDs of all created broadcasts can be received via Get All Broadcasts request
Body
{
"name": "Broadcast",
"status": "live",
"share_url": "",
"custom_iframe_url": "",
"show_dvr_after_finish": true,
"ad_id": 1,
"player_id": 14,
"stream_ids": [10]
}
Response
Successful
Broadcast name
Broadcast statuses:
Pending — default “Broadcast isn’t started yet” or custom message (see pending_message
parameter) is shown, users don't see the live stream
Live — broadcast is live, and viewers can see it
Paused — “Broadcast is paused” message is shown, users don't see the live stream
Finished — “Broadcast is finished” message is shown, users don't see the live stream
The users' browsers start displaying the message/stream immediately after you change the broadcast status
Custom URL or iframe displayed in the link field when a user clicks on a sharing button in player. If empty, the link field and social network sharing is disabled
Custom URL of iframe for video player to be shared via sharing button in player. Auto generated iframe URL is provided by default
Regulates if a DVR record is shown once a broadcast is finished. Has two possible values:
-
true — record is shown
-
false — record isn't shown
Default is false
A custom message that is shown if broadcast status is set to pending. If empty, a default message is shown
ID of ad to be displayed in a live stream. If empty the default ad is show. If there is no default ad, no ad is shown
ID of player to be used with a broadcast. If empty the default player is used
IDs of streams used in a broadcast
Uploaded poster file