mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Merge pull request #2745 from Artiume/patch-6
Force Audio Transcoding for LiveTV Transcoding (cherry picked from commit 31769bda2886ca85310681c19efc9c8c3007cedf) Signed-off-by: Joshua M. Boniface <joshua@boniface.me>
This commit is contained in:
parent
163fb94bde
commit
5611b2c038
@ -521,10 +521,7 @@ namespace MediaBrowser.Api.Playback
|
|||||||
streamInfo.StartPositionTicks = startTimeTicks;
|
streamInfo.StartPositionTicks = startTimeTicks;
|
||||||
mediaSource.TranscodingUrl = streamInfo.ToUrl("-", auth.Token).TrimStart('-');
|
mediaSource.TranscodingUrl = streamInfo.ToUrl("-", auth.Token).TrimStart('-');
|
||||||
mediaSource.TranscodingUrl += "&allowVideoStreamCopy=false";
|
mediaSource.TranscodingUrl += "&allowVideoStreamCopy=false";
|
||||||
if (!allowAudioStreamCopy)
|
mediaSource.TranscodingUrl += "&allowAudioStreamCopy=false";
|
||||||
{
|
|
||||||
mediaSource.TranscodingUrl += "&allowAudioStreamCopy=false";
|
|
||||||
}
|
|
||||||
mediaSource.TranscodingContainer = streamInfo.Container;
|
mediaSource.TranscodingContainer = streamInfo.Container;
|
||||||
mediaSource.TranscodingSubProtocol = streamInfo.SubProtocol;
|
mediaSource.TranscodingSubProtocol = streamInfo.SubProtocol;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user