Create a live stream
POST {{baseUrl}}/video/v1/live-streams
Creates a new live stream. Once created, an encoder can connect to Mux via the specified stream key and begin streaming to an audience.
Request Body
{"playback_policy"=>["public"], "new_asset_settings"=>{"playback_policy"=>["public"]}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{"data":{"stream_key":"abcdefgh","status":"idle","reconnect_window":60,"playback_ids":[{"policy":"public","id":"HNRDuwff3K2VjTZZAPuvd2Kx6D01XUQFv02GFBHPUka018"}],"new_asset_settings":{"playback_policies":["public"]},"id":"ZEBrNTpHC02iUah025KM3te6ylM7W4S4silsrFtUkn3Ag","created_at":"1609937654","latency_mode":"standard","max_continuous_duration":43200}}