1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

update readme

This commit is contained in:
winlin 2013-12-15 13:41:17 +08:00
parent d911c85a12
commit 63cec6f967
2 changed files with 21 additions and 12 deletions

View file

@ -28,6 +28,15 @@ vhost __defaultVhost__ {
hls_fragment 5;
hls_window 30;
}
http_hooks {
enabled off;
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 on;
ffmpeg ./objs/ffmpeg/bin/ffmpeg;
@ -85,7 +94,7 @@ vhost dev {
gop_cache on;
#forward 127.0.0.1:19350;
hls {
enabled on;
enabled off;
hls_path ./objs/nginx/html;
hls_fragment 5;
hls_window 30;