...
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/data/send
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/connection/find_all
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
language | js |
---|---|
theme | RDark |
|
|
|
|
|
|
|
|
|
|
|
|
/data/batch_send
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
/connection/find_all
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/connection/find
Request
Response
language | js |
---|---|
theme | RDark |
|
language | js |
---|---|
theme | RDark |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/connection/find
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/connection/terminate
Request
Response
language | js |
---|---|
theme | RDark |
|
|
|
Code Block | ||||
---|---|---|---|---|
| ||||
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Length: 0
Date: Tue, 28 Mar 2017 17:21:40 GMT |
/push/startup
...
Request
...
Response
...
Code Block | ||||
---|---|---|---|---|
| ||||
POST /rest-api/push/startup HTTP/1.1
Host: 192.168.1.101:8081
Content-Length: 73
Content-Type: application/json
{
"streamName": "cf58",
"rtmpUrl":"rtmp://rtmp.flashphoner.com:1935/live/test",
"rtmpTransponderFullUrl": true
} |
...
Code Block | ||||
---|---|---|---|---|
| ||||
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: application/json;charset=UTF-8
Date: Fri, 28 Apr 2017 12:53:00 GMT
{
"mediaSessionId":"6dk1l0m3cm17c68232bccm52f1",
"streamName":"test",
"rtmpUrl":"rtmp://rtmp.flashphoner.com:1935/live"
} |
/push/find
Request
Response
language | js |
---|---|
theme | RDark |
|
|
/connection/terminate
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
...
|
|
/push/startup
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
language | js |
---|---|
theme | RDark |
|
|
|
|
|
|
|
|
|
|
/push/find
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
/push/
...
find_all
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/push/mute
Request
Response
|
/push/terminate
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
/push/mute
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/push/unmute
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
...
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/mixer/
...
set_body_watermark
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/mixer/
...
set_stream_watermark
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
language | js |
---|---|
theme | RDark |
|
|
|
|
|
|
|
|
/mixer/
...
set_parameter
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
...
|
/mixer/set_stream_avatar
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
...
|
/mixer/remove_stream_avatar
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
...
|
/mixer/test/start
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/mixer/
...
test/
...
stop
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/mixer/
...
test/
...
get_
...
start_
...
example
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
...
|
/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 | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
/cdn/show_nodes
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
/cdn/
...
show_routes
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
/cdn/show_state
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
|
/cdn/enforce_state
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/cdn/stream/show_routes
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/cdn/stream/access_list/add
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/cdn/stream/access_list/remove
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
/cdn/stream/access_list/print
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
Code Block | ||||
---|---|---|---|---|
| ||||
HTTP/1.1 200 OK
Access-Control-Allow-Origin: *
Content-Type: application/json |
/cdn/stream/access_list/remove
language | js |
---|---|
theme | RDark |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/cdn/stream/access_list/delete
Request | Response | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
/cdn/stream/access_list/print
language | js |
---|---|
theme | RDark |
|
|
|
|
|
|
|
|
|
|
|
|
|
/cdn/profile/add
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
language | js |
---|---|
theme | RDark |
|
|
|
|
|
|
|
|
|
|
|
|
/cdn/stream/access_list/delete
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/cdn/profile/modify
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
/cdn/profile/
...
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
language | js |
---|---|
theme | RDark |
|
/cdn/profile/modify
language | js |
---|---|
theme | RDark |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
language | js |
---|---|
theme | RDark |
|
/cdn/profile/
...
remove
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
language | js |
---|---|
theme | RDark |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/cdn/remove_node
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/cdn/profile/remove
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/cdn/connection/reset_inbound
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/cdn/
...
connection/reset_
...
outbound
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/cdn/connection/reset_all
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/recorder/startup
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
/
...
recorder/terminate
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
/recorder/find_all
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
Code Block | ||||
---|---|---|---|---|
| ||||
HTTP/1.1 200 OK
Access-Control-Allow-Origin: *
Content-Type: application/json |
...
|
/multipleRecorder/startup
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
/multipleRecorder/add
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
/
...
multipleRecorder/remove
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
/
...
multipleRecorder/
...
find_all
Request | Response | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
|
...
|
/multipleRecorder/terminate
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/transcoder/startup
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
...
|
/transcoder/find
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
/multipleRecorder/startup
language | js |
---|---|
theme | RDark |
|
|
|
Code Block | ||||
---|---|---|---|---|
| ||||
HTTP/1.1 200 OK
Access-Control-Allow-Origin: * |
...
|
/transcoder/find_all
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Code Block | ||||
---|---|---|---|---|
| ||||
HTTP/1.1 200 OK
Access-Control-Allow-Origin: * |
/multipleRecorder/remove
language | js |
---|---|
theme | RDark |
|
|
|
|
Code Block | ||||
---|---|---|---|---|
| ||||
HTTP/1.1 200 OK
Access-Control-Allow-Origin: * |
...
|
/transcoder/terminate
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
language | js |
---|---|
theme | RDark |
|
|
|
|
|
|
...
|
|
/transcoder/set_watermark
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
...
|
/transcoder2/startup
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
...
|
/transcoder2/find
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/
...
transcoder2/find_all
Request | Response | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/transcoder2/terminate
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
...
|
|
/transcoder2/set_watermark
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/vod/startup
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
/
...
vod/
...
find
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Code Block | ||||
---|---|---|---|---|
| ||||
HTTP/1.1 200 OK
Access-Control-Allow-Origin: *
Access-Control-Allow-Credentials: true |
...
|
/vod/find_all
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/vod/terminate
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
...
|
|
/hls/startup
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/hls/find_all
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/hls/terminate
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
/transcoder2/terminate
|
|
/hls/profiles
Request | Response | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
|
Code Block | ||||
---|---|---|---|---|
| ||||
HTTP/1.1 200 OK
Access-Control-Allow-Origin: *
Access-Control-Allow-Credentials: true |
/vod/startup
...
Code Block | ||||
---|---|---|---|---|
| ||||
POST /rest-api/vod/startup HTTP/1.1
HOST: 192.168.1.101:8081
content-type: application/json
content-length: 83
{
"uri":"vod-live://sample.mp4",
"localStreamName": "test"
}
|
...
Code Block | ||||
---|---|---|---|---|
| ||||
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Length: 0
Date: Thu, 06 Dec 2018 4:16:40 GMT |
/vod/find
...
Code Block | ||||
---|---|---|---|---|
| ||||
POST /rest-api/vod/find HTTP/1.1
HOST: 192.168.1.101:8081
content-type: application/json
content-length: 30
{
"localStreamName": "test"
} |
...
Code Block | ||||
---|---|---|---|---|
| ||||
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Length: 286
Date: Thu, 06 Dec 2018 4:16:40 GMT
[
{
"localMediaSessionId": "29ec3236-1093-42bb-88d6-d4ac37af3ac0",
"localStreamName": "test",
"uri": "vod-live://sample.mp4",
"status": "PROCESSED_LOCAL",
"hasAudio": true,
"hasVideo": true,
"record": false
}
] |
/vod/find_all
...
Code Block | ||||
---|---|---|---|---|
| ||||
POST /rest-api/vod/find_all HTTP/1.1
HOST: 192.168.1.101:8081
content-type: application/json
content-length: 0
|
...
Code Block | ||||
---|---|---|---|---|
| ||||
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Length: 286
Date: Thu, 06 Dec 2018 4:16:40 GMT
[
{
"localMediaSessionId": "29ec3236-1093-42bb-88d6-d4ac37af3ac0",
"localStreamName": "test",
"uri": "vod-live://sample.mp4",
"status": "PROCESSED_LOCAL",
"hasAudio": true,
"hasVideo": true,
"record": false
}
] |
/vod/terminate
...
Code Block | ||||
---|---|---|---|---|
| ||||
POST /rest-api/vod/terminate HTTP/1.1
HOST: 192.168.1.101:8081
content-type: application/json
content-length: 30
{
"uri":"vod://sample.mp4",
"localStreamName": "test"
} |
...
Code Block | ||||
---|---|---|---|---|
| ||||
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Length: 0
Date: Thu, 06 Dec 2018 4:16:40 GMT |
...
|
/hls/subscribers
Request | Response | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
|
/hls/find_all
...
Code Block | ||||
---|---|---|---|---|
| ||||
POST /rest-api/hls/find_all HTTP/1.1
Host: centos3.flashphoner.com:8081
Connection: keep-alive
Content-Length: 0
|
...
Code Block | ||||
---|---|---|---|---|
| ||||
HTTP/1.1 200 OK
Access-Control-Allow-Origin: *
Content-Length: 171
Content-Type: application/json
{
"test": {
"handler": "com.flashphoner.server.client.handler.wcs4.WCS4Handler@15b75d07",
"state": "ACTIVE",
"writer": "HLS-test",
"streamStatus": "PLAYING",
"writerStarted": "true"
}
} |
/hls/terminate
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/sfu/stats
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
...
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/mpegts/find
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/mpegts/find_all
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
...