...
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/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
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/stream/startRecording
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/stream/stopRecording
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/stream/event/send
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/data/send
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/data/batch_send
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/connection/find_all
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/connection/find
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/connection/terminate
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/push/startup
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/push/find
Request | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/push/find_all
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/push/terminate
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/push/mute
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/push/unmute
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/push/sound_on
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/push/sound_off
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/pull/rtmp/pull
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/pull/rtmp/find_all
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/pull/rtmp/terminate
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/mixer/startup
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/mixer/add
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/mixer/remove
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/mixer/find_all
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/mixer/terminate
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/mixer/setAudioVideo
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/mixer/set_body_watermark
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/mixer/set_stream_watermark
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/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
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
Code Block | ||||
---|---|---|---|---|
| ||||
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Length: 0
Date: Tue, 28 Mar 2017 16:21:48 GMT |
...
|
/pull/push
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/
...
pull/
...
terminate
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
/logger/enable_client_log
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
/logger/disable_client_log
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/cdn/show_nodes
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
/cdn/show_routes
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
...
|
|
/cdn/show_state
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/cdn/enforce_state
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
/connection/terminate
...
Запрос
...
Ответ
...
Code Block | ||||
---|---|---|---|---|
| ||||
POST /rest-api/connection/terminate HTTP/1.1
Host:192.168.1.101:8081
Content-Length: 55
Content-Type: application/json
{
"sessionId":"/192.168.1.102:39564/192.168.1.101:8443"
} |
...
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
Запрос
Ответ
language | js |
---|---|
theme | RDark |
|
|
/cdn/stream/show_routes
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/cdn/stream/access_list/add
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
|
|
/push/find
/cdn/stream/access_list/remove
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
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
...
Запрос
...
Ответ
...
Code Block | ||||
---|---|---|---|---|
| ||||
POST /rest-api/push/find_all HTTP/1.1
Host: 192.168.1.101:8081
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, 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
...
Запрос
...
Ответ
...
Code Block | ||||
---|---|---|---|---|
| ||||
POST /rest-api/push/terminate HTTP/1.1
Host: 192.168.1.101:8081
Content-Length: 48
Content-Type: application/json
{
"mediaSessionId": "6dk1l0m3cm17c68232bccm52f1"
} |
...
Code Block | ||||
---|---|---|---|---|
| ||||
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Length: 0
Date: Fri, 28 Apr 2017 12:56:51 |
/push/mute
...
Запрос
...
Ответ
...
Code Block | ||||
---|---|---|---|---|
| ||||
POST /rest-api/push/mute 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:06:14 GMT |
/push/unmute
Запрос
Ответ
language | js |
---|---|
theme | RDark |
|
|
|
|
...
|
/cdn/stream/access_list/print
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
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
...
Запрос
...
Ответ
...
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
...
Запрос
...
Ответ
...
Code Block | ||||
---|---|---|---|---|
| ||||
POST /rest-api/pull/rtmp/pull HTTP/1.1
Host: 192.168.1.101:8081
Content-Type: application/json;charset=UTF-8
Content-Length: 60
{
"uri":"rtmp://rtmp.flashphoner.com:1935/live/rtmp_stream1",
"localStreamName":"stream1"
} |
...
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/rtmp/find_all
Запрос
Ответ
Code Block | ||||
---|---|---|---|---|
| ||||
POST /rest-api/pull/rtmp/find_all HTTP/1.1
Host: 192.168.1.101:8081
Content-Length: 0
Content-Type: application/json |
language | js |
---|---|
theme | RDark |
|
|
|
|
|
|
|
|
|
|
|
/pull/rtmp/terminate
Запрос
Ответ
language | js |
---|---|
theme | RDark |
|
|
/mixer/startup
...
Запрос
...
Ответ
...
Code Block | ||||
---|---|---|---|---|
| ||||
POST /rest-api/mixer/startup HTTP/1.1
HOST: 192.168.1.101:8081
content-type: application/json
content-length: 70
{
"uri": "mixer://mixer1",
"localStreamName": "mixer1_stream",
"hasVideo": true,
"hasAudio": false,
"watermark": "watermark.png",
"background": "background.png",
"mixerLayoutClass": "com.flashphoner.mixerlayout.TestLayout"
} |
...
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
...
Запрос
...
Ответ
...
Code Block | ||||
---|---|---|---|---|
| ||||
POST /rest-api/mixer/add HTTP/1.1
HOST: 192.168.1.101:8081
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
...
Запрос
...
Ответ
...
Code Block | ||||
---|---|---|---|---|
| ||||
POST /rest-api/mixer/remove HTTP/1.1
HOST: 192.168.1.101:8081
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 |
...
|
/cdn/stream/access_list/delete
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
language | js |
---|---|
theme | RDark |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/mixer/terminate
Запрос
Ответ
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:35 GMT |
/mixer/setAudioVideo
...
Запрос
...
Ответ
...
Code Block | ||||
---|---|---|---|---|
| ||||
POST /rest-api/mixer/setAudioVideo HTTP/1.1
Host: localhost:8081
Accept: */*
Content-Type: application/json
Content-Length: 62
{
"uri": "mixer://m1",
"streams": "^stream.*",
"audioLevel": 0,
"videoMuted": true
} |
Code Block | ||||
---|---|---|---|---|
| ||||
HTTP/1.1 200 OK
Access-Control-Allow-Origin: *
Access-Control-Allow-Credentials: true
Content-Length: 0
Date: Fri, 24 Nov 2020 14:55:35 GMT |
/mixer/test/start
...
Запрос
...
Ответ
...
Code Block | ||||
---|---|---|---|---|
| ||||
POST /rest-api/mixer/test/start HTTP/1.1
HOST: 192.168.1.101:8081
Content-type: application/json
Content-length: 107
{
"feedingStreams": [
"s1",
"s2"
],
"mixerCount": 3,
"streamsInMixer": 1,
"intervalInSeconds": 60
}
|
...
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
Запрос
Ответ
language | js |
---|---|
theme | RDark |
|
|
|
|
...
|
/cdn/profile/add
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
language | js |
---|---|
theme | RDark |
|
|
|
|
|
|
|
|
|
/pull/pull
Запрос
Ответ
language | js |
---|---|
theme | RDark |
|
|
|
|
|
|
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
...
Запрос
...
Ответ
...
Code Block | ||||
---|---|---|---|---|
| ||||
POST /rest-api/pull/find_all HTTP/1.1
Host: 192.168.1.101:8081
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":"da157e2b-2159-40c9-9560-ae1af8d4a0b5",
"remoteMediaSessionId":null,
"localStreamName":"6602",
"remoteStreamName":"660s",
"uri":"wss://demo.flashphoner.com:8443/websocket",
"status":"NEW"
}
] |
/pull/push
...
Запрос
...
Ответ
...
Code Block | ||||
---|---|---|---|---|
| ||||
POST /rest-api/pull/pull HTTP/1.1
Host: 192.168.1.101:8081
Content-Type: application/json;charset=UTF-8
Content-Length: 60
{
"uri":"wss://demo.flashphoner.com:8443/websocket"
"localStreamName": "0d40"
"remoteStreamName": "0d40"
} |
...
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
Запрос
Ответ
language | js |
---|---|
theme | RDark |
|
|
...
|
/cdn/profile/modify
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
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
...
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
|
|
|
|
/cdn/profile/print
Запрос | Ответ | |||||
---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/cdn/show_routes
language | js |
---|---|
theme | RDark |
|
|
|
|
language | js |
---|---|
theme | RDark |
|
|
|
|
|
|
|
|
|
|
|
/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
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"
} |
language | js |
---|---|
theme | RDark |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/cdn/stream/access_list/add
language | js |
---|---|
theme | RDark |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/cdn/profile/remove
Запрос | Ответ | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
/cdn/stream/access_list/remove
language | js |
---|---|
theme | RDark |
|
|
|
|
|
|
|
|
|
|
/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/modify
|
|
|
|
|
|
|
|
|
|
|
|
|
Code Block | ||||
---|---|---|---|---|
| ||||
HTTP/1.1 200 OK
Access-Control-Allow-Origin: *
Content-Type: application/json |
/cdn/profile/print
language | js |
---|---|
theme | RDark |
|
|
|
/transcoder/find_all
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
|
/transcoder/terminate
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
/cdn/profile/remove
|
|
/transcoder/set_watermark
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/transcoder2/startup
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/transcoder2/find
Запрос | Ответ | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
/transcoder2/find_all
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
/transcoder2/terminate
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
/transcoder2/set_watermark
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
|
...
|
/vod/startup
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
/vod/find
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
|
|
|
/vod/find_all
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
|
/vod/terminate
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
...
|
/hls/startup
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
/
...
hls/
...
find_all
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
/hls/terminate
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
/
...
hls/
...
profiles
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
/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,
"watermark": "Test.png"
}
} |
...
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"
} |
...
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": "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"
}
}
] |
...
|
/hls/subscribers
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/
...
sfu/
...
stats
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
language | js |
---|---|
theme | RDark |
|
/transcoder2/startup
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Code Block | ||||
---|---|---|---|---|
| ||||
HTTP/1.1 200 OK
Access-Control-Allow-Origin: *
Access-Control-Allow-Credentials: true |
/transcoder2/find
Code Block | ||||
---|---|---|---|---|
| ||||
POST /rest-api/transcoder2/find HTTP/1.1
HOST: 192.168.1.101:8081
content-type: application/json
content-length: 30
{
"remoteStreamName": "test"
} |
language | js |
---|---|
theme | RDark |
|
|
|
|
|
|
|
|
|
|
|
|
|
/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 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/transcoder2/terminate
...
Code Block | ||||
---|---|---|---|---|
| ||||
POST /rest-api/transcoder2/terminate HTTP/1.1
HOST: 192.168.1.101:8081
content-type: application/json
content-length: 30
{
"uri":"transcoder2://tcode2"
} |
...
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"
} |
language | js |
---|---|
theme | RDark |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/
...
mpegts/
...
startup
Запрос | Ответ | ||||||
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/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 |
...
|
/mpegts/find
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
| : 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
Запрос | Ответ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|