The Free Software Media System - Server Backend & API
Change audio sync (sync at start no corrections)
tikufff9e74dd4475
diff --git a/MediaBrowser.Api/Playback/Hls/VideoHlsService.cs b/MediaBrowser.Api/Playback/Hls/VideoHlsService.csindex 99772d2ece..583082500c 100644--- a/MediaBrowser.Api/Playback/Hls/VideoHlsService.cs+++ b/MediaBrowser.Api/Playback/Hls/VideoHlsService.cs@@ -94,7 +94,7 @@ namespace MediaBrowser.Api.Playback.HlsaudioSampleRate = state.Request.AudioSampleRate.Value + ":";}- args += string.Format(" -af \"adelay=1,aresample={0}async=1000{1}\"", audioSampleRate, volParam);+ args += string.Format(" -af \"adelay=1,aresample={0}async=1{1}\"", audioSampleRate, volParam);return args;}diff --git a/MediaBrowser.Api/Playback/Progressive/VideoService.cs b/MediaBrowser.Api/Playback/Progressive/VideoService.csindex 31dbcaafbf..f4e4019f67 100644--- a/MediaBrowser.Api/Playback/Progressive/VideoService.cs+++ b/MediaBrowser.Api/Playback/Progressive/VideoService.cs@@ -250,7 +250,7 @@ namespace MediaBrowser.Api.Playback.ProgressiveAudioSampleRate = state.Request.AudioSampleRate.Value + ":";}- args += string.Format(" -af \"aresample={0}async=1000{1}\"", AudioSampleRate, volParam);+ args += string.Format(" -af \"aresample={0}async=1{1}\"", AudioSampleRate, volParam);return args;}