Skip to main content

Broadcast

Start broadcast

To connect an Eyeson room with a broadcast you have to provide a valid streaming RTMP url.

POST /rooms/<access_key>/broadcasts # start broadcast
RESPONSES 201 CREATED, 400 BAD REQUEST, 404 NOT FOUND, 405 METHOD NOT ALLOWED, 406 NOT ACCEPTABLE, 410 GONE
ParametersTypeDescription
stream_urlString (required)Streaming URL.
player_urlString (optional)Public URL to view the live video.

Update player_url

PUT /rooms/<access_key>/broadcasts/generic # update broadcast player_url
RESPONSES 200 OK, 400 BAD REQUEST, 404 NOT FOUND, 410 GONE
ParametersTypeDescription
player_urlString (required)Public URL to view the live video.

Stop broadcast

DELETE /rooms/<access_key>/broadcasts # stop broadcast
RESPONSES 200 OK, 404 NOT FOUND, 410 GONE