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
Parameters | Type | Description |
---|---|---|
stream_url | String (required) | Streaming URL. |
player_url | String (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
Parameters | Type | Description |
---|---|---|
player_url | String (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