Fetch the state of a live stream

GET {{baseUrl}}/live_streams/:id/state

It takes Wowza Video about a minute to complete all of the startup process for the live stream. Because we need to know when Wowza Video is ready to accept your stream, we'll fetch the state of the stream.

ACTION
Click Send. This request queries the state of the live stream.

The response includes:

* The state of the live stream.

If the state isn't started, wait 10 or 15 seconds and send this request again.

When the state changes to started, Wowza Video is ready to accept your stream and you can start your video source.

ACTION
1. Click Publish on the WebRTC publish page. Your web camera and browser starts to send content to Wowza Video.
2. Click the play button on the hosted page. You'll start receiving playback, similarly to how your viewers would experience playback if you used our generated hosted page. Keep in mind, you can customize the hosted page when you create your live stream.

Next step

Open the PUT Stop a live stream request.


Below is additional information about the GET Fetch the state of a live stream request.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"live_stream":{"ip_address":"0.0.0.0","state":"stopped"}}