Table of Contents |
---|
/call/startup
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/call/find_all
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/call/find
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/call/terminate
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
/call/send_dtmf
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
/call/inject_sound
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/call/inject_stream/startup
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/call/inject_stream/terminate
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/rtsp/startup
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/rtsp/find_all
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
|
/rtsp/find
|
/rtsp/find
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/rtsp/terminate
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/stream/find_all
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/stream/find
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/stream/terminate
...
Request
...
Response
...
Code Block | ||||
---|---|---|---|---|
| ||||
POST /rest-api/stream/terminate HTTP/1.1
Host: 192.168.1.101:8081
Content-Length: 57
Content-Type: application/json
{
"mediaSessionId":"4f112b20-13d0-11e7-b521-59a9cb7eddeb"
} |
...
Code Block | ||||
---|---|---|---|---|
| ||||
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Length: 0
Date: Tue, 28 Mar 2017 16:11:48 GMT |
/stream/snapshot
...
Request
...
Response
...
Code Block | ||||
---|---|---|---|---|
| ||||
POST /rest-api/stream/snapshot HTTP/1.1
Host: 192.168.1.101:8081
Content-Length: 57
Content-Type: application/json
{
"streamName" : "64966f33"
} |
...
Code Block | ||||
---|---|---|---|---|
| ||||
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Length: 858
Date: Tue, 28 Mar 2017 16:11:48 GMT
{
"data": "iVBORw0KGgoAAAANSUhEUgAAAUAAAADwCAYAAABxLb1rAAAACXBIWXMAAAAAAAAAAQCEeRdzAAAQAElEQVR4nOzd95Pcd37feVjhrFKwXT6fr+r+gPvh6nx1V5bvLMt3liXbkiWtrF1v1O5qVxu4icucwUyABAMIAgSIQOQcBzlnzAADDIDJuadzzjmH173f7+/302l6gO4GiCHIZtWjeqZnejAAu5/9+XzD57tgwYIF6Ojo6PiSmvdfoKOjo2O+zPsv0NHR0TFf5v0X6Ojo6Jgv8/4LdHR0dMyXef8FOjo6OubLvP8CHR0dHfNl3n+Bjo6Ojvky779AR0dHx3yZ91+go6OjY77M+y/Q0dHRMV/m/Rfo6OjomC/z/gt0dHR0zJd5/wU6Ojo65su8/wIdHR0d82Xef4GOjo6O+TLvv0BHR0fHfJn3X6Cjo6Njvsz7L9DR0dExX+b9F+jo6OiYL/P+C3R0dHTMl3n/BTo6Ojrmy7z/Ah0dHR1t+Ue636rzGzr19Tv8jPn/S3R0dHS04z4E8HfR0dHR8XD5DaGC94/rdALY0dHxBXafAlj/wI6OjofPb7foXh//edcJYEfHl4gaCd0tDPXf0+rjHxbNT4F/6/fR0dHxkPsNnhb+DvnNO7zYf1P7nt/8vTYf/3nzj8hvk/+B/GPt76DIfey3dHP8jN/8g/8JHR0dD7d/9Hv/Ixb87j/Hgt/5ZzSt+6dY8D/8Eyz47T+o4Pv4a/Q9v/H7/6L1x3+e8O+m/134d/+tf/Iv8dv/9H/G7/zz/6Xs9/7ZvxS//8/+hfiDP/gD/P7v/z5+7/d+D7/7u7+L3/md3xELVl6PoaOj4"
} |
/stream/startRecording
Request
Response
language | js |
---|---|
theme | RDark |
|
/stream/terminate
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
/stream/
...
snapshot
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
/data/send
Request
Response
language | js |
---|---|
theme | RDark |
|
|
/stream/startRecording
Request | Response | |||||
---|---|---|---|---|---|---|
|
|
|
|
|
/
...
stream/
...
stopRecording
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
/stream/event/send
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/data/send
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
/data/batch_send
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
/connection/find
Request
Response
|
|
|
/connection/find_all
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/connection/
...
find
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
/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"
} |
...
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":"rtmp_cf58",
"rtmpUrl":"rtmp://rtmp.flashphoner.com:1935/live"
} |
/push/find
...
Request
...
Response
...
Code Block | ||||
---|---|---|---|---|
| ||||
POST /rest-api/push/find HTTP/1.1
Host: 192.168.1.101:8081
Content-Length: 40
Content-Type: application/json
{
"rtmpUrl":"rtmp://localhost:1935/live"
} |
...
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:55:31 GMT
[{
"mediaSessionId":"bung2cu1npigp8u4bd75ha4c5r",
"streamName":"rtmp_4be7",
"rtmpUrl":"rtmp://localhost:1935/live"
},{
"mediaSessionId":"hs4khbl7g3abmnkeli217lrcmf",
"streamName":"rtmp_f85d",
"rtmpUrl":"rtmp://localhost:1935/live"
}] |
/push/find_all
Request
Response
language | js |
---|---|
theme | RDark |
|
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:56:04 GMT
[{
"mediaSessionId":"6dk1l0m3cm17c68232bccm52f1",
"streamName":"rtmp_cf58",
"rtmpUrl":"rtmp://rtmp.flashphoner.com:1935/live"
},{
"mediaSessionId":"bung2cu1npigp8u4bd75ha4c5r",
"streamName":"rtmp_4be7",
"rtmpUrl":"rtmp://localhost:1935/live"
},{
"mediaSessionId":"hs4khbl7g3abmnkeli217lrcmf",
"streamName":"rtmp_f85d",
"rtmpUrl":"rtmp://localhost:1935/live"
}] |
/push/terminate
Request
Response
language | js |
---|---|
theme | RDark |
|
/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/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 | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/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 | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/cdn/profile/remove
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/cdn/remove_node
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/cdn/connection/reset_inbound
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
|
|
...
|
/cdn/connection/reset_outbound
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
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/unmute
...
Request
...
Response
...
Code Block | ||||
---|---|---|---|---|
| ||||
POST /rest-api/push/unmute HTTP/1.1
Host: 192.168.1.101:8081
Content-Length: 48
Content-Type: application/json
{
"mediaSessionId": "gocrv1ncahlkcqht9k2nbs8tbc"
} |
...
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:8081
Content-Length: 88
Content-Type: application/json
{
"mediaSessionId": "gocrv1ncahlkcqht9k2nbs8tbc",
"soundFile":"sample.wav",
"loop": true
} |
...
Code Block | ||||
---|---|---|---|---|
| ||||
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Length: 0
Date: Mon, 03 Jul 2017 09:11:42 GMT |
/push/sound_off
...
Request
...
Response
...
Code Block | ||||
---|---|---|---|---|
| ||||
POST /rest-api/push/sound_off HTTP/1.1
Host: 192.168.1.101:8081
Content-Length: 48
Content-Type: application/json
{
"mediaSessionId": "gocrv1ncahlkcqht9k2nbs8tbc"
} |
...
Code Block | ||||
---|---|---|---|---|
| ||||
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Length: 0
Date: Mon, 03 Jul 2017 09:12:25 GMT |
/pull/rtmp/pull
Request
Response
language | js |
---|---|
theme | RDark |
|
|
|
|
...
|
/cdn/connection/reset_all
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
language | js |
---|---|
theme | RDark |
|
|
...
|
|
/recorder/startup
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
Code Block | ||||
---|---|---|---|---|
| ||||
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Length: 0
Date: Thu, 23 Nov 2017 09:47:31 GMT |
/mixer/startup
Request
Response
language | js |
---|---|
theme | RDark |
|
|
|
|
...
|
/recorder/terminate
Request | Response | ||||
---|---|---|---|---|---|
|
|
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
language | js |
---|---|
theme | RDark |
|
|
|
|
...
|
/recorder/find_all
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
...
|
/multipleRecorder/startup
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
/mixer/test/start
Запрос
|
/multipleRecorder/add
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
language | js |
---|---|
theme | RDark |
|
|
|
|
|
|
|
|
/mixer/test/stop
Запрос
Ответ
language | js |
---|---|
theme | RDark |
|
|
/mixer/test/get_start_example
Запрос
|
/multipleRecorder/remove
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
language | js |
---|---|
theme | RDark |
|
|
|
|
|
|
|
|
|
|
|
|
/pull/pull
Запрос
|
|
/multipleRecorder/find_all
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
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/find_all
Запрос
Ответ
language | js |
---|---|
theme | RDark |
|
/multipleRecorder/terminate
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
/pull/push
Запрос
|
|
/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:35 GMT |
/logger/enable_client_log
|
|
|
|
|
|
|
|
Code Block | ||||
---|---|---|---|---|
| ||||
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Length: 0
Date: Wed, 03 Sep 2018 06:58:40 GMT |
/logger/disable_client_log
language | js |
---|---|
theme | RDark |
|
Code Block | ||||
---|---|---|---|---|
| ||||
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Length: 0
Date: Wed, 03 Sep 2018 06:58:40 GMT |
...
|
/transcoder/find_all
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/cdn/show_routes
language | js |
---|---|
theme | RDark |
|
|
|
|
|
language | js |
---|---|
theme | RDark |
|
|
|
|
/
...
transcoder/
...
terminate
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
/
...
transcoder/
...
set_
...
watermark
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/
...
transcoder2/startup
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
language | js |
---|---|
theme | RDark |
|
|
|
|
|
|
|
|
...
|
|
/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 | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
/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 | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
/hls/subscribers
Request | Response | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
/
...
sfu/stats
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
Code Block | ||||
---|---|---|---|---|
| ||||
HTTP/1.1 200 OK
Access-Control-Allow-Origin: *
Content-Type: application/json |
/transcoder/startup
...
Code Block | ||||
---|---|---|---|---|
| ||||
POST /rest-api/transcoder/startup HTTP/1.1
HOST: 192.168.1.101:8081
content-type: application/json
content-length: 83
{
"uri": "transcoder://tcode1",
"remoteStreamName": "test",
"localStreamName": "testT",
"encoder": {
"width": 640,
"height": 480,
"keyFrameInterval": 30,
"fps": 30
}
} |
...
Code Block | ||||
---|---|---|---|---|
| ||||
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Length: 0
Date: Thu, 06 Dec 2018 4:16:40 GMT |
/transcoder/find
Code Block | ||||
---|---|---|---|---|
| ||||
POST /rest-api/transcoder/find HTTP/1.1
HOST: 192.168.1.101:8081
content-type: application/json
content-length: 30
{
"remoteStreamName": "test"
} |
language | js |
---|---|
theme | RDark |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/transcoder/find_all
Code Block | ||||
---|---|---|---|---|
| ||||
POST /rest-api/transcoder/find_all HTTP/1.1
HOST: 192.168.1.101:8081
content-type: application/json
content-length: 0
|
language | js |
---|---|
theme | RDark |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/
...
mpegts/
...
startup
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
/vod/startup
language | js |
---|---|
theme | RDark |
|
|
|
|
|
|
|
|
Code Block | ||||
---|---|---|---|---|
| ||||
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Length: 0
Date: Thu, 06 Dec 2018 4:16:40 GMT |
...
|
/mpegts/find
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/
...
mpegts/find_all
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/
...
mpegts/terminate
Request | Response | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|