parent
70f95c06a3
commit
0b22a69457
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@ -0,0 +1,48 @@
|
|||||||
|
# main config for srs.
|
||||||
|
# @see full.conf for detail config.
|
||||||
|
|
||||||
|
listen 1935;
|
||||||
|
daemon off;
|
||||||
|
max_connections 1000;
|
||||||
|
srs_log_tank file;
|
||||||
|
srs_log_file ./objs/srs.log;
|
||||||
|
http_api {
|
||||||
|
enabled on;
|
||||||
|
listen 1985;
|
||||||
|
}
|
||||||
|
http_server {
|
||||||
|
enabled on;
|
||||||
|
listen 8080;
|
||||||
|
dir ./objs/nginx/html;
|
||||||
|
}
|
||||||
|
stats {
|
||||||
|
network 0;
|
||||||
|
disk sda sdb xvda xvdb;
|
||||||
|
}
|
||||||
|
vhost __defaultVhost__ {
|
||||||
|
http_remux {
|
||||||
|
enabled on;
|
||||||
|
mount [vhost]/[app]/[stream].flv;
|
||||||
|
hstrs on;
|
||||||
|
}
|
||||||
|
hls {
|
||||||
|
enabled on;
|
||||||
|
hls_fragment 3;
|
||||||
|
hls_window 10;
|
||||||
|
hls_path ./objs/nginx/html;
|
||||||
|
hls_m3u8_file [app]/[stream].m3u8;
|
||||||
|
hls_ts_file [app]/[stream]-[seq].ts;
|
||||||
|
}
|
||||||
|
dvr {
|
||||||
|
enabled off;
|
||||||
|
dvr_path ./objs/nginx/html/[app].[stream].[timestamp].flv;
|
||||||
|
dvr_plan segment;
|
||||||
|
dvr_duration 600;
|
||||||
|
dvr_wait_keyframe on;
|
||||||
|
time_jitter full;
|
||||||
|
}
|
||||||
|
http_hooks {
|
||||||
|
enabled on;
|
||||||
|
on_dvr http://localhost/IoTCenter/Service/OnDvr;
|
||||||
|
}
|
||||||
|
}
|
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 5.3 KiB |
Binary file not shown.
Loading…
Reference in new issue