...
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/stream/terminate
...
Запрос
...
Ответ
...
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
...
Запрос
...
Ответ
...
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/terminate
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
/stream/
...
snapshot
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
/data/send
Запрос
Ответ
language | js |
---|---|
theme | RDark |
|
|
|
Code Block | ||||
---|---|---|---|---|
| ||||
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Length: 0
Date: Tue, 28 Mar 2017 16:21:18 GMT |
/connection/find_all
Запрос
Ответ
language | js |
---|---|
theme | RDark |
|
/stream/startRecording
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
/stream/stopRecording
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/stream/event/send
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/data/send
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
/data/batch_send
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
/connection/find
Запрос
Ответ
|
|
|
/connection/find_all
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/connection/
...
find
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
/push/startup
...
Запрос
...
Ответ
...
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
...
Ответ
...
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
Запрос
Ответ
language | js |
---|---|
theme | RDark |
|
language | js |
---|---|
theme | RDark |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/push/terminate
Запрос
Ответ
language | js |
---|---|
theme | RDark |
|
Code Block | ||||
---|---|---|---|---|
| ||||
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Length: 0
Date: Fri, 28 Apr 2017 12:56:51 |
...
|
/connection/terminate
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/push/
...
startup
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/push/
...
find
Request | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/push/
...
find_
...
all
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
...
|
/push/terminate
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/
...
push/mute
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
/pull/rtmp/terminate
|
/push/unmute
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/push/sound_on
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
/
...
push/
...
sound_off
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
/pull/rtmp/pull
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
/
...
pull/rtmp/find_all
Запрос |
---|
Ответ | |||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/mixer/remove
Запрос
Ответ
language | js |
---|---|
theme | RDark |
|
Code Block | ||||
---|---|---|---|---|
| ||||
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Length: 0
Date: Fri, 24 Nov 2017 15:21:12 GMT |
/mixer/find_all
Запрос
Ответ
Code Block | ||||
---|---|---|---|---|
| ||||
POST /rest-api/mixer/find_all HTTP/1.1
HOST: 192.168.1.101:8081
content-type: application/json
content-length: 0 |
language | js |
---|---|
theme | RDark |
|
|
|
|
|
|
|
|
|
|
...
|
/pull/rtmp/terminate
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/mixer/startup
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/mixer/add
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/mixer/
...
remove
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/mixer/
...
find_all
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
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
...
Запрос
...
Ответ
...
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/test/get_start_example
Запрос
Ответ
Code Block | ||||
---|---|---|---|---|
| ||||
POST /rest-api/mixer/test/get_start_example HTTP/1.1
HOST: 192.168.1.101:8081
Content-type: application/json
Content-length: 0
{
}
|
language | js |
---|---|
theme | RDark |
|
|
|
|
|
|
|
|
|
|
...
|
/mixer/terminate
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/
...
mixer/
...
setAudioVideo
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
/pull/push
Запрос
|
/mixer/set_body_watermark
Запрос | Ответ | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
|
|
/mixer/set_stream_watermark
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
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:8081
content-type: application/json
content-length: 31
{
"uri": "wss://demo.flashphoner.com:8443/websocket"
} |
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
language | js |
---|---|
theme | RDark |
|
|
/mixer/set_parameter
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/mixer/set_stream_avatar
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/mixer/remove_stream_avatar
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/mixer/test/start
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/mixer/test/stop
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/mixer/test/get_start_example
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/pull/pull
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/pull/find_all
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/pull/push
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/pull/terminate
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/logger/enable_client_log
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/logger/disable_client_log
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/cdn/show_nodes
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/cdn/show_routes
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/cdn/show_state
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/cdn/enforce_state
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/cdn/stream/show_routes
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/cdn/stream/access_list/add
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/cdn/stream/access_list/remove
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/cdn/stream/access_list/print
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/cdn/stream/access_list/delete
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/cdn/profile/add
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/cdn/profile/modify
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/cdn/profile/print
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
|
/logger/disable_client_log
...
Code Block | ||||
---|---|---|---|---|
| ||||
POST /rest-api/logger/disable_client_log HTTP/1.1
HOST: 192.168.1.101:8081
content-type: application/json
content-length: 71
{
"sessionId": "/127.0.0.1:57539/192.168.1.101:8443"
} |
...
Code Block | ||||
---|---|---|---|---|
| ||||
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Length: 0
Date: Wed, 03 Sep 2018 06:58:40 GMT |
/cdn/show_nodes
Code Block | ||||
---|---|---|---|---|
| ||||
POST /rest-api/cdn/show_nodes HTTP/1.1
HOST: 192.168.1.101:8081
content-type: application/json
content-length: 0 |
language | js |
---|---|
theme | RDark |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/cdn/show_routes
...
Code Block | ||||
---|---|---|---|---|
| ||||
POST /rest-api/cdn/show_routes 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: 26
Date: Thu, 06 Dec 2018 4:16:40 GMT
{
"0-192.168.1.5-0": "test"
} |
/cdn/show_state
...
Code Block | ||||
---|---|---|---|---|
| ||||
POST /rest-api/cdn/show_state 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: 19
Date: Thu, 06 Dec 2018 8:26:44 GMT
[
"NEW_STREAMS_ALLOWED"
] |
/cdn/enforce_state
...
Code Block | ||||
---|---|---|---|---|
| ||||
POST /rest-api/cdn/enforce_state HTTP/1.1
HOST: 192.168.1.101:8081
content-type: application/json
content-length: 44
{
"state": "GROUP_CONNECTIONS_ALLOWED"
} |
...
Code Block | ||||
---|---|---|---|---|
| ||||
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Length: 0
Date: Thu, 06 Dec 2018 8:36:30 GMT |
/cdn/stream/show_routes
language | js |
---|---|
theme | RDark |
|
/cdn/profile/remove
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
/cdn/stream/access_list/add
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/cdn/remove_node
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/cdn/
...
connection/
...
reset_
...
inbound
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
/cdn/connection/reset_outbound
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
/cdn/connection/reset_all
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
/
...
recorder/startup
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
/recorder/terminate
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
/recorder/find_all
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/multipleRecorder/startup
Запрос | Ответ | |||||
---|---|---|---|---|---|---|
|
|
|
|
|
|
|
...
|
|
/multipleRecorder/add
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
/multipleRecorder/remove
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
/multipleRecorder/find_all
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
|
/multipleRecorder/terminate
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
/transcoder/startup
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
|
/transcoder/find
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
/cdn/profile/add
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/transcoder/find_all
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/transcoder/terminate
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/transcoder/set_watermark
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
...
|
/transcoder2/startup
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
/transcoder2/find
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/cdn/profile/print
language | js |
---|---|
theme | RDark |
|
|
|
|
/transcoder2/find_all
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
/transcoder2/terminate
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/transcoder2/set_watermark
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
/vod/startup
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/vod/find
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/vod/find_all
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/vod/terminate
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
...
|
/hls/startup
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/hls/find_all
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
Code Block | ||||
---|---|---|---|---|
| ||||
HTTP/1.1 200 OK
Access-Control-Allow-Origin: *
Content-Type: application/json |
/recorder/startup
language | js |
---|---|
theme | RDark |
|
/hls/terminate
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/hls/profiles
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/hls/subscribers
Запрос | Ответ | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
HTTP/1.1 200 OK
Access-Control-Allow-Origin: *
Content-Type: application/json
/recorder/terminate
language | js |
---|---|
theme | RDark |
|
|
|
|
|
Code Block | ||||
---|---|---|---|---|
| ||||
HTTP/1.1 200 OK
Access-Control-Allow-Origin: *
Content-Type: application/json |
...
|
/sfu/stats
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/transcoder/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 |
/transcoder/find
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 |
Запрос | Ответ | |||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Code Block | ||||||||
|
| localMediaSessionId
| 42a92132-bcd1-4436-a96f-3fec36b32b37"
| "localStreamName
| "testT",
| remoteStreamName
| test
| "uri
| transcoder://tcode1
| status
| "PROCESSED_LOCAL"
| hasAudio
| true
| "hasVideo
| true
| "record
| false
| encoder
| {
| width
| 640,
| "height": 480,
| "keyFrameInterval": 30,
| fps
| 30,
|
| "watermark
| Test.png
|
|
]
/transcoder/find_all
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/transcoder/terminate
...
Code Block | ||||
---|---|---|---|---|
| ||||
POST /rest-api/transcoder/terminate HTTP/1.1
HOST: 192.168.1.101:8081
content-type: application/json
content-length: 30
{
"uri":"transcoder://tcode1"
} |
...
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/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 |
|
|
|
|
|
|
|
|
|
|
|
|
|
/
...
mpegts/
...
startup
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/
...
mpegts/
...
find
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/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 |
...
|
/mpegts/find_all
Запрос | Ответ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
| Length
| 171
| Type
| application/json
| test
| {
| handler
| com.flashphoner.server.client.handler.wcs4.WCS4Handler@15b75d07
|
| state
| ACTIVE
| writer
| "HLS-test"
|
|
| streamStatus
| "PLAYING"
|
| writerStarted
| true
|
| }
|
/
...
mpegts/terminate
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|