diff --git a/publish/src/linux-x64/publish/docker/conf/srs/srs.conf b/publish/src/linux-x64/publish/docker/conf/srs/srs.conf deleted file mode 100644 index a4f7c67c..00000000 --- a/publish/src/linux-x64/publish/docker/conf/srs/srs.conf +++ /dev/null @@ -1,66 +0,0 @@ -listen 1935; -max_connections 1000; -srs_log_tank file; -srs_log_file ./objs/log/srs.log; -daemon off; -http_api { - enabled on; - listen 1985; - raw_api { - enabled on; - allow_reload on; - allow_query on; - allow_update on; - } -} -http_server { - enabled on; - listen 8080; - dir ./objs/nginx/html; -} -stats { - network 0; - disk sda sdb xvda xvdb; -} -vhost __defaultVhost__ { - transcode live { - enabled off; - ffmpeg ./objs/ffmpeg/bin/ffmpeg; - engine snapshot { - enabled on; - iformat flv; - vfilter { - vf fps=1; - } - vcodec png; - vparams { - vframes 1; - } - acodec an; - oformat image2; - output ./objs/nginx/html/[app]/[stream].png; - } - } - http_remux { - enabled on; - mount [vhost]/[app]/[stream].flv; - } - 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 on; - dvr_apply none; - dvr_path ./objs/nginx/html/video/[app].[stream].[timestamp].mp4; - time_jitter full; - } - http_hooks { - enabled on; - on_dvr http://172.172.0.80/IoTCenter/api/v1/Srs/OnDvr http://host.docker.internal/IoTCenter/api/v1/Srs/OnDvr; - } -}