mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
add cherrypy api server
This commit is contained in:
parent
b29d7ccd56
commit
d3cee00b3b
4 changed files with 104 additions and 1 deletions
|
@ -87,6 +87,12 @@ vhost dev {
|
|||
hls_window 30;
|
||||
#forward 127.0.0.1:19350;
|
||||
#forward 127.0.0.1:1936;
|
||||
on_connect http://127.0.0.1:8085/api/v1/clients;
|
||||
on_close http://127.0.0.1:8085/api/v1/clients;
|
||||
on_publish http://127.0.0.1:8085/api/v1/streams;
|
||||
on_unpublish http://127.0.0.1:8085/api/v1/streams;
|
||||
on_play http://127.0.0.1:8085/api/v1/sessions;
|
||||
on_stop http://127.0.0.1:8085/api/v1/sessions;
|
||||
transcode {
|
||||
enabled off;
|
||||
ffmpeg ./objs/ffmpeg/bin/ffmpeg;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue