...
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
...
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
...
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
...
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
...
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
...
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
...
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
...
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
...
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
...
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
...
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
...
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
...
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/
...
stream/
...
snapshot
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
language | js |
---|---|
theme | RDark |
|
|
|
|
/connection/find_all
Request
Response
Code Block | ||||
---|---|---|---|---|
| ||||
POST /rest-api/connection/find_all HTTP/1.1
Host: 192.168.1.101:9091
Content-Length: 0
Content-Type: application/json |
language | js |
---|---|
theme | RDark |
|
/data/send
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/connection/find_all
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/connection/find
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/connection/terminate
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/push/startup
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/push/find
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/push/find_all
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/push/terminate
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/push/mute
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/push/unmute
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/push/sound_on
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/push/sound_off
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/pull/rtmp/pull
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/pull/rtmp/find_all
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/pull/rtmp/terminate
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/mixer/startup
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/mixer/add
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/mixer/remove
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
...
|
|
/mixer/find_all
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/mixer/terminate
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/mixer/test/start
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
/mixer/test/stop
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/mixer/test/get_start_example
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
/connection/terminate
Request
|
|
|
|
|
|
Code Block | ||||
---|---|---|---|---|
| ||||
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Length: 0
Date: Tue, 28 Mar 2017 17:21:40 GMT |
...
|
/pull/pull
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
...
|
/pull/find_all
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/pull/push
...
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
...
|
/pull/terminate
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/logger/enable_client_log
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
/
...
logger/disable_client_log
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/
...
api/
...
create-session
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
Code Block | ||||
---|---|---|---|---|
| ||||
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Length: 0
Date: Mon, 03 Jul 2017 09:07:27 GMT |
/push/sound_on
Request
Response
Code Block | ||||
---|---|---|---|---|
| ||||
POST /rest-api/push/sound_on HTTP/1.1
Host: 192.168.1.101:9091
Content-Length: 88
Content-Type: application/json
{
"mediaSessionId": "gocrv1ncahlkcqht9k2nbs8tbc",
"soundFile":"sample.wav",
"loop": true
} |
|
|
|
|
|
|
|
|
/
...
cdn/
...
show_
...
routes
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/
...
cdn/
...
stream/
...
show_routes
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/pull/rtmp/find_all
...
Request
...
Response
...
Code Block | ||||
---|---|---|---|---|
| ||||
POST /rest-api/pull/rtmp/find_all HTTP/1.1
Host: 192.168.1.101:9091
Content-Length: 0
Content-Type: application/json |
...
Code Block | ||||
---|---|---|---|---|
| ||||
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: application/json;charset=UTF-8
Date: Fri, 24 Nov 2017 14:27:35 GMT
[{
"localMediaSessionId":"69695ed6-6e78-455c-9fee-ae1af8d4a0b5",
"remoteMediaSessionId":null,
"localStreamName":"rtmp://rtmp.flashphoner.com:1935/live/stream1",
"remoteStreamName":null,
"uri":"rtmp://rtmp.flashphoner.com:1935/live/stream1",
"status":"PROCESSED_REMOTE"
},{
"localMediaSessionId":"dfae1a1c-f99b-4e56-9f19-7dc7903ede8d",
"remoteMediaSessionId":null,
"localStreamName":"rtmp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov",
"remoteStreamName":null,
"uri":"rtmp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov",
"status":"PROCESSED_REMOTE"
}] |
...
|
/transcoder/startup
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/
...
transcoder/
...
find
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
Code Block | ||||
---|---|---|---|---|
| ||||
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Length: 0
Date: Fri, 24 Nov 2017 14:55:26 GMT |
/mixer/add
...
Request
...
Response
...
Code Block | ||||
---|---|---|---|---|
| ||||
POST /rest-api/mixer/add HTTP/1.1
HOST: 192.168.1.101:9091
content-type: application/json
content-length: 99
{
"uri": "mixer://mixer1",
"remoteStreamName": "rtmp://rtmp.flashphoner.com:1935/live/stream1"
} |
...
Code Block | ||||
---|---|---|---|---|
| ||||
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Length: 0
Date: Fri, 24 Nov 2017 15:21:06 GMT |
/mixer/remove
...
Request
...
Response
...
Code Block | ||||
---|---|---|---|---|
| ||||
POST /rest-api/mixer/remove HTTP/1.1
HOST: 192.168.1.101:9091
content-type: application/json
content-length: 99
{
"uri": "mixer://mixer1",
"remoteStreamName": "rtmp://rtmp.flashphoner.com:1935/live/stream1"
} |
...
Code Block | ||||
---|---|---|---|---|
| ||||
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Length: 0
Date: Fri, 24 Nov 2017 15:21:12 GMT |
...
|
/transcoder/find_all
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
...
|
/transcoder/terminate
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/
...
vod/
...
startup
Request |
---|
Response | |||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/
...
vod/find
...
Request |
---|
Response | |||||||
---|---|---|---|---|---|---|---|
|
|
|
language | js |
---|---|
theme | RDark |
|
/pull/push
Запрос
Ответ
|
|
|
|
Code Block | ||||
---|---|---|---|---|
| ||||
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Length: 0
Date: Thu, 23 Nov 2017 09:47:23 GMT |
/pull/terminate
Запрос
Ответ
Code Block | ||||
---|---|---|---|---|
| ||||
POST /rest-api/pull/terminate HTTP/1.1
HOST: 192.168.1.101:9091
content-type: application/json
content-length: 31
{
"uri": "wss://demo.flashphoner.com:8443"
} |
|
/vod/find_all
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
/api/create-session
Request
|
|
|
|
|
/vod/terminate
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|