room_id required | string https://raw.githubusercontent.com/health Response samples Content typeapplication/json {"data": {"distribution": {"enabled": true, "nodeStatus": "UP", "nodesInCluster": 0 }, "status": "UP", "uptime": 0 } } Subscribe the HLS component to the tracks of peers or components Request Body schema: application/jsonoptional Subscribe configuration
@@ -44,7 +44,7 @@
" class="sc-iKOmoZ sc-cCzLxZ cpUhEB gLSMbL sc-ckdEwu LxEPk"> Unauthorized
https://raw.githubusercontent.com/hls/{room_id}/subscribe Request samples Content typeapplication/json Response samples Content typeapplication/json Retrieve HLS Content path Parametersroom_id required | string https://raw.githubusercontent.com/hls/{room_id}/subscribe Request samples Content typeapplication/json Response samples Content typeapplication/json Retrieve HLS Content path Parametersroom_id required | | filename required | string Name of the file
@@ -62,13 +62,13 @@
" class="sc-iKOmoZ sc-cCzLxZ cpUhEB gLSMbL sc-ckdEwu LxEPk"> Invalid filename
https://raw.githubusercontent.com/hls/{room_id}/{filename} Response samples Content typeapplication/json Lists all available recordings ResponsesLists all available recordings Responses404 Unable to obtain recordings
- get/recordinghttps://raw.githubusercontent.com/recording Response samples Content typeapplication/json Copy Expand all Collapse all Deletes the recording path Parametersrecording_id required | string get/recordinghttps://raw.githubusercontent.com/recording Response samples Content typeapplication/json Copy Expand all Collapse all Deletes the recording Responses204 Successfully deleted recording
@@ -78,7 +78,7 @@
" class="sc-iKOmoZ sc-cCzLxZ cpUhEB gLSMbL sc-ckdEwu LxEPk"> Unauthorized
404 Recording doesn't exist
- delete/recording/{recording_id}https://raw.githubusercontent.com/recording/{recording_id} Response samples Content typeapplication/json Retrieve Recording (HLS) Content path Parametersrecording_id required | string delete/recording/{recording_id}https://raw.githubusercontent.com/recording/{recording_id} Response samples Content typeapplication/json Retrieve Recording (HLS) Content path Parametersrecording_id required | | filename required | string Name of the file
@@ -88,14 +88,16 @@
" class="sc-iKOmoZ sc-cCzLxZ cpUhEB gLSMbL sc-ckdEwu LxEPk"> Invalid request
get/recording/{recording_id}/{filename}https://raw.githubusercontent.com/recording/{recording_id}/{filename} Response samples Content typeapplication/json Show information about all rooms Responses200 get/recording/{recording_id}/{filename}https://raw.githubusercontent.com/recording/{recording_id}/{filename} Response samples Content typeapplication/json Show information about all rooms get/roomhttps://raw.githubusercontent.com/room Response samples Content typeapplication/json Copy Expand all Collapse all {"data": [{"components": [{"id": "component-1", "tracks": [{"id": "string", "metadata": null, "type": "audio" } ], "type": "hls" } ], "config": {"maxPeers": 10, "roomId": "string", "videoCodec": "h264", }, "id": "room-1", } ] } Creates a room Request Body schema: application/jsonoptional get/roomhttps://raw.githubusercontent.com/room Response samples Content typeapplication/json Copy Expand all Collapse all {"data": [{"components": [{"id": "component-1", "tracks": [{"id": "string", "metadata": null, "type": "audio" } ], "type": "hls" } ], "id": "room-1", } ] } Creates a room Request Body schema: application/jsonoptional maxPeers | integer or null >= 1 Maximum amount of peers allowed into the room
+ | peerlessPurgeTimeout | integer or null >= 1 Duration (in seconds) after which the room will be removed if no peers are connected. If not provided, this feature is disabled.
| roomId | string or null Custom id used for identifying room within Jellyfish. Must be unique across all rooms. If not provided, random UUID is generated.
| videoCodec | string or null Enum: "h264" "vp8" Invalid request structure
post/roomhttps://raw.githubusercontent.com/room Request samples Content typeapplication/json {"maxPeers": 10, "roomId": "string", "videoCodec": "h264", } Response samples Content typeapplication/json Copy Expand all Collapse all Delete the room path Parametersroom_id required | string post/roomhttps://raw.githubusercontent.com/room Request samples Content typeapplication/json Response samples Content typeapplication/json Copy Expand all Collapse all Delete the room Responses204 Successfully deleted room
@@ -116,7 +118,7 @@
" class="sc-iKOmoZ sc-cCzLxZ cpUhEB gLSMbL sc-ckdEwu LxEPk"> Unauthorized
delete/room/{room_id}https://raw.githubusercontent.com/room/{room_id} Response samples Content typeapplication/json Shows information about the room path Parametersroom_id required | string delete/room/{room_id}https://raw.githubusercontent.com/room/{room_id} Response samples Content typeapplication/json Shows information about the room Responses200 Success
@@ -124,11 +126,11 @@
" class="sc-iKOmoZ sc-cCzLxZ cpUhEB gLSMbL sc-ckdEwu LxEPk"> Unauthorized
get/room/{room_id}https://raw.githubusercontent.com/room/{room_id} Response samples Content typeapplication/json Copy Expand all Collapse all {"data": {"components": [{"id": "component-1", "tracks": [{"id": "string", "metadata": null, "type": "audio" } ], "type": "hls" } ], "config": {"maxPeers": 10, "roomId": "string", "videoCodec": "h264", }, "id": "room-1", } } Creates the component and adds it to the room path Parametersroom_id required | string get/room/{room_id}https://raw.githubusercontent.com/room/{room_id} Response samples Content typeapplication/json Copy Expand all Collapse all {"data": {"components": [{"id": "component-1", "tracks": [{"id": "string", "metadata": null, "type": "audio" } ], "type": "hls" } ], "id": "room-1", } } Creates the component and adds it to the room Request Body schema: application/jsonoptional options | ComponentOptionsHLS (object) or ComponentOptionsRTSP (object) or ComponentOptionsFile (object) (ComponentOptions) options | ComponentOptionsHLS (object) or ComponentOptionsRTSP (object) or ComponentOptionsFile (object) or ComponentOptionsSIP (object) (ComponentOptions) Component-specific options
| type required | string (ComponentType) Component type
@@ -140,7 +142,7 @@
" class="sc-iKOmoZ sc-cCzLxZ cpUhEB gLSMbL sc-ckdEwu LxEPk"> Unauthorized
post/room/{room_id}/componenthttps://raw.githubusercontent.com/room/{room_id}/component Request samples Content typeapplication/json Copy Expand all Collapse all Response samples Content typeapplication/json Copy Expand all Collapse all {"data": {"id": "component-1", "tracks": [{"id": "string", "metadata": null, "type": "audio" } ], "type": "hls" } } Delete the component from the room path Parametersroom_id required | string post/room/{room_id}/componenthttps://raw.githubusercontent.com/room/{room_id}/component Request samples Content typeapplication/json Copy Expand all Collapse all Response samples Content typeapplication/json Copy Expand all Collapse all {"data": {"id": "component-1", "tracks": [{"id": "string", "metadata": null, "type": "audio" } ], "type": "hls" } } Delete the component from the room path Parametersroom_id required | | id required | string Component ID
@@ -150,7 +152,7 @@
" class="sc-iKOmoZ sc-cCzLxZ cpUhEB gLSMbL sc-ckdEwu LxEPk"> Unauthorized
404 Either component or the room doesn't exist
- delete/room/{room_id}/component/{id}https://raw.githubusercontent.com/room/{room_id}/component/{id} Response samples Content typeapplication/json Create peer path Parametersroom_id required | string delete/room/{room_id}/component/{id}https://raw.githubusercontent.com/room/{room_id}/component/{id} Response samples Content typeapplication/json Create peer Request Body schema: application/jsonoptional Peer specification
@@ -168,7 +170,7 @@
" class="sc-iKOmoZ sc-cCzLxZ cpUhEB gLSMbL sc-ckdEwu LxEPk"> Room doesn't exist
503 Peer limit has been reached
- post/room/{room_id}/peerhttps://raw.githubusercontent.com/room/{room_id}/peer Request samples Content typeapplication/json Copy Expand all Collapse all Response samples Content typeapplication/json Copy Expand all Collapse all Delete peer path Parametersroom_id required | string post/room/{room_id}/peerhttps://raw.githubusercontent.com/room/{room_id}/peer Request samples Content typeapplication/json Copy Expand all Collapse all Response samples Content typeapplication/json Copy Expand all Collapse all Delete peer path Parametersroom_id required | | id required | string Peer id
@@ -178,6 +180,34 @@
" class="sc-iKOmoZ sc-cCzLxZ cpUhEB gLSMbL sc-ckdEwu LxEPk"> Unauthorized
404 Room ID or Peer ID references a resource that doesn't exist
- delete/room/{room_id}/peer/{id}https://raw.githubusercontent.com/room/{room_id}/peer/{id} Response samples Content typeapplication/json
+delete/room/{room_id}/peer/{id}https://raw.githubusercontent.com/room/{room_id}/peer/{id} Response samples Content typeapplication/json Finish call made by SIP component path Parametersroom_id required | | component_id required | |
Responses400 Invalid request structure
+ delete/sip/{room_id}/{component_id}/callhttps://raw.githubusercontent.com/sip/{room_id}/{component_id}/call Response samples Content typeapplication/json Make a call from the SIP component to the provided phone number path Parametersroom_id required | | component_id required | |
Request Body schema: application/jsonoptional Phone Number configuration
+ phoneNumber | string Phone number on which SIP Component will call
+ |
Responses400 Invalid request structure
+ post/sip/{room_id}/{component_id}/callhttps://raw.githubusercontent.com/sip/{room_id}/{component_id}/call Request samples Content typeapplication/json Response samples Content typeapplication/json
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|