Step 1

Create a stream key.

The Live Stream object in the Mux API is a record of a live stream of video that will be pushed to Mux. To create your first Live Stream, send a POST request to the /live-streams endpoint.

POST https://api.mux.com/video/v1/live-streams

{ "playback_policy": "public", "new_asset_settings": { "playback_policy": "public" } }