Broadcasts
Create broadcast
Changed onBroadcast entity is for setting up HTML video player, which serves to combine:
- many live streams,
- advertising,
- and design in one config.
If you use other players or you get streams by direct .m3u8/.mpd links, then you will not need this entity.
Scheme of "broadcast" entity using:

post/streaming/broadcasts
Request
- Base URLhttps://api.gcore.com
- URLhttps://api.gcore.com/streaming/broadcasts
- AuthHTTP apikey
Request body
Example request
{
"broadcast": {
"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
Example response
{
"name": "Broadcast",
"status": "live",
"share_url": "",
"custom_iframe_url": "",
"show_dvr_after_finish": true,
"ad_id": 1,
"player_id": 14,
"stream_ids": [
10
]
}Changes
- info
added the media type
application/jsonfor the response with the status
- info