v1

latestOpenAPI 3.0.0Apache 2.02026-07-17164848.1 KB
room

Creates the component and adds it to the room

post/room/{room_id}/component

Path parameters

room_idstring required

Room ID

Request body

typestring required

Component type

Example request

{
  "options": {
    "sourceUri": "rtsp://localhost:554/stream"
  },
  "type": "hls"
}

Response

Successfully added component

Example response

{
  "data": {
    "id": "component-1",
    "type": "hls"
  }
}