rooms

rooms/:name/live-streaming/add-endpoints

Changed on

Add RTMP destinations to a live stream that is already running in a room. Each endpoint must be the name of an rtmp entry in the room's streaming_endpoints property; unknown names are rejected with a 400. This is the REST counterpart of daily-js addLiveStreamingEndpoints().

The update is asynchronous. A 200 means the request was accepted and forwarded to the live stream, not that it has taken effect. The streaming.updated webhook confirms the request was processed; anything the media server rejects or fails to apply later arrives as a streaming.warning webhook, or as a live-streaming-warning event in daily-js.

post/rooms/{room_name}/live-streaming/add-endpoints

Request

  • Base URL
    https://api.daily.co/v1
  • Auth
    HTTP bearer

Path parameters

room_namestring required

Request body

instanceIdstring

UUID of the live streaming instance to change. Required when several live streams are running in the room; otherwise the default instance is used.

Response

200

Changes