...
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"
} |
...
|
/connection/terminate
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/push/find_all
|
/push/startup
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
/push/find
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
/push/
...
find_all
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/push/mute
Request
Response
language | js |
---|---|
theme | RDark |
|
|
|
Code Block | ||||
---|---|---|---|---|
| ||||
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Length: 0
Date: Mon, 03 Jul 2017 09:06:14 GMT |
...
|
/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 | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
/mixer/startup
Request
Response
language | js |
---|---|
theme | RDark |
|
|
|
|
|
|
|
|
|
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: localhost:8081
Content-Type: application/json
Content-Length: 85
{
"uri": "mixer://m1",
"remoteStreamName": "stream1",
"audioLevel": 0,
"videoMuted": false
} |
|
/pull/rtmp/terminate
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
/mixer/remove
Request
Response
language | js |
---|---|
theme | RDark |
|
|
|
|
|
|
|
/mixer/
...
startup
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
language | js |
---|---|
theme | RDark |
|
|
|
|
|
|
|
|
|
|
|
|
/mixer/add
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
...
|
|
/mixer/remove
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
/mixer/
...
find_all
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/mixer/test/start
Request
Response
language | js |
---|---|
theme | RDark |
|
|
|
|
|
|
Code Block | ||||
---|---|---|---|---|
| ||||
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Length: 0
Date: Wed, 22 Aug 2018 08:53:26 GMT |
/mixer/test/stop
...
Request
...
Response
...
Code Block | ||||
---|---|---|---|---|
| ||||
POST /rest-api/mixer/test/stop 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: 0
Date: Wed, 22 Aug 2018 08:53:26 GMT |
...
|
/mixer/terminate
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
...
|
/mixer/setAudioVideo
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/
...
mixer/
...
set_body_
...
watermark
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
...
|
/mixer/set_stream_watermark
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/
...
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 | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/cdn/stream/show_routes
Code Block | ||||
---|---|---|---|---|
| ||||
POST /rest-api/cdn/stream/show_routes HTTP/1.1
HOST: 192.168.1.101:8081
content-type: application/json
content-length: 30
{
"streamName":"test-profile1"
} |
|
/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 | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/cdn/stream/access_list/delete
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/cdn/profile/add
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
/cdn/profile/modify
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/cdn/
...
profile/print
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Code Block | ||||
---|---|---|---|---|
| ||||
HTTP/1.1 200 OK
Access-Control-Allow-Origin: *
Content-Type: application/json |
/cdn/stream/access_list/print
language | js |
---|---|
theme | RDark |
|
|
|
|
|
|
/cdn/profile/remove
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
language | js |
---|---|
theme | RDark |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/cdn/
...
remove_node
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 | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
/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 | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
/transcoder/find_all
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
|
language | js |
---|---|
theme | RDark |
|
|
|
/recorder/startup
language | js |
---|---|
theme | RDark |
|
|
|
|
|
/transcoder/terminate
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
...
|
/transcoder/set_watermark
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
...
|
/transcoder2/startup
Request | Response | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
...
|
/transcoder2/find
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
Code Block | ||||
---|---|---|---|---|
| ||||
HTTP/1.1 200 OK
Access-Control-Allow-Origin: * |
/multipleRecorder/add
language | js |
---|---|
theme | RDark |
|
|
|
/transcoder2/find_all
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/multipleRecorder/remove
language | js |
---|---|
theme | RDark |
|
|
|
|
|
|
Code Block | ||||
---|---|---|---|---|
| ||||
HTTP/1.1 200 OK
Access-Control-Allow-Origin: * |
...
|
/transcoder2/terminate
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
/transcoder2/set_watermark
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
...
|
|
/vod/startup
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
...
|
/vod/find
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
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_all
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/vod/terminate
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
...
|
|
/hls/startup
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
/hls/find_all
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
/
...
hls/terminate
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/hls/profiles
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
/transcoder2/startup
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Code Block | ||||
---|---|---|---|---|
| ||||
HTTP/1.1 200 OK
Access-Control-Allow-Origin: *
Access-Control-Allow-Credentials: true |
/transcoder2/find
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/transcoder2/find_all
Code Block | ||||
---|---|---|---|---|
| ||||
POST /rest-api/transcoder2/find_all HTTP/1.1
HOST: 192.168.1.101:8081
content-type: application/json
content-length: 0
|
language | js |
---|---|
theme | RDark |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/
...
hls/
...
subscribers
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
/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"
} |
language | js |
---|---|
theme | RDark |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/
...
sfu/
...
stats
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/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/startup
...
Code Block | ||||
---|---|---|---|---|
| ||||
POST /rest-api/hls/startup HTTP/1.1
Host: centos3.flashphoner.com:8081
Content-Length: 16
Content-Type: application/json
{
"name": "test"
}
|
...
Code Block | ||||
---|---|---|---|---|
| ||||
HTTP/1.1 200 OK
Access-Control-Allow-Origin: *
Content-Type: application/json |
/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
...
Code Block | ||||
---|---|---|---|---|
| ||||
POST /rest-api/hls/terminate HTTP/1.1
Host: centos3.flashphoner.com:8081
Content-Length: 16
Content-Type: application/json
{
"name": "test"
}
|
...
Code Block | ||||
---|---|---|---|---|
| ||||
HTTP/1.1 200 OK
Access-Control-Allow-Origin: *
Content-Type: application/json |
/sfu/stats
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/mpegts/startup
Request | Response | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| "h send": {
"id": "3c2dcd1c-7acd-4b90-8871-331be80cade0",
"codec": "H264",
"width": 1280,
"height": 720,
"fps": 30,
"bitrate": 238688,
"alive": true,
"type": "VIDEO"
},
"m send": {
"id": "3c2dcd1c-7acd-4b90-8871-331be80cade0",
"codec": "H264",
"width": 640,
"height": 360,
"fps": 30,
"bitrate": 265368,
"alive": true,
"type": "VIDEO"
}
}
}
],
"incomingTracks": {
"9de9107c-ce5f-4d6b-b7d6-ea233d691d09": null,
"237dcef9-c66d-4c72-bd43-0c91aaea3b7e": "h send"
}
}
]
}
|
|
/mpegts/find
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/mpegts/find_all
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/mpegts/terminate
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|