diff --git a/publish/src/linux-x64/publish/conf/srs/conf/srs.conf b/publish/src/linux-x64/publish/conf/srs/conf/srs.conf index 26a8b42e..721363bd 100644 --- a/publish/src/linux-x64/publish/conf/srs/conf/srs.conf +++ b/publish/src/linux-x64/publish/conf/srs/conf/srs.conf @@ -49,6 +49,28 @@ vhost __defaultVhost__ { acodec an; oformat image2; output ./objs/nginx/html/[app]/[stream].png; + } + engine ff { + enabled off; + vfilter { + } + vcodec libx264; + vbitrate 500; + vfps 25; + vwidth 768; + vheight 320; + vthreads 12; + vprofile main; + vpreset medium; + vparams { + } + acodec libfdk_aac; + abitrate 70; + asample_rate 44100; + achannels 2; + aparams { + } + output rtmp://127.0.0.1:[port]/[app]?vhost=[vhost]/[stream]_[engine]; } } http_remux { diff --git a/publish/src/linux-x64/publish/conf/srs/dev/srs.conf b/publish/src/linux-x64/publish/conf/srs/dev/srs.conf index 1443729b..30092fc6 100644 --- a/publish/src/linux-x64/publish/conf/srs/dev/srs.conf +++ b/publish/src/linux-x64/publish/conf/srs/dev/srs.conf @@ -50,6 +50,28 @@ vhost __defaultVhost__ { oformat image2; output ./objs/nginx/html/[app]/[stream].png; } + engine ff { + enabled off; + vfilter { + } + vcodec libx264; + vbitrate 500; + vfps 25; + vwidth 768; + vheight 320; + vthreads 12; + vprofile main; + vpreset medium; + vparams { + } + acodec libfdk_aac; + abitrate 70; + asample_rate 44100; + achannels 2; + aparams { + } + output rtmp://127.0.0.1:[port]/[app]?vhost=[vhost]/[stream]_[engine]; + } } http_remux { enabled on;