JanusApi
All URIs are relative to http://localhost
| Method | HTTP request | Description |
|---|---|---|
| attachToJanusConnection | POST /admin/janus/attach | Attaches to Janus connection |
| connectToJanus | POST /admin/janus/connect | Connects to Janus session |
| createAndAttach | POST /admin/janus/create-and-attach | Creates and attaches to Janus session |
| createJanusConnection | POST /admin/janus/create | Creates Janus connection |
| getInfo | GET /admin/janus/info | Returns info about Janus server |
| getListSession | GET /admin/janus/list-sessions | Returns list of current Janus sessions |
| getSession | GET /admin/janus/session | Returns info about Janus session |
| getSessionRaw | GET /admin/janus/session-raw | Returns raw info about Janus session |
| getStatus | GET /admin/janus/get-status | Returns raw info about Janus session |
| setSettings | POST /admin/janus/settings | Sets janus settings |
| stopJanusConnection | POST /admin/janus/stop | Stops an active Janus session |
| trickleJanus | POST /admin/janus/trickle | Trickles data to Janus server |
attachToJanusConnection
Long attachToJanusConnection(sessionId)
Attaches to Janus connection
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| sessionId | Long | Janus session id to attach to | [default to null] |
Return type
Long
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json, /
connectToJanus
JanusResponse connectToJanus(ConnectData)
Connects to Janus session
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| ConnectData | ConnectData |
Return type
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json, /
createAndAttach
SessionData createAndAttach()
Creates and attaches to Janus session
Parameters
This endpoint does not need any parameter.
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json, /
createJanusConnection
Long createJanusConnection()
Creates Janus connection
Parameters
This endpoint does not need any parameter.
Return type
Long
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json, /
getInfo
String getInfo()
Returns info about Janus server
Parameters
This endpoint does not need any parameter.
Return type
String
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json, /
getListSession
List getListSession()
Returns list of current Janus sessions
Parameters
This endpoint does not need any parameter.
Return type
List
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json, /
getSession
JanusAdminSessionResponse getSession(sessionId)
Returns info about Janus session
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| sessionId | Long | Id of the session | [default to null] |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json, /
getSessionRaw
String getSessionRaw(sessionId)
Returns raw info about Janus session