Merge pull request #2745 from Artiume/patch-6

Force Audio Transcoding for LiveTV Transcoding
pull/2900/head
Bond-009 4 years ago committed by GitHub
commit 31769bda28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -520,10 +520,7 @@ namespace MediaBrowser.Api.Playback
streamInfo.StartPositionTicks = startTimeTicks;
mediaSource.TranscodingUrl = streamInfo.ToUrl("-", auth.Token).TrimStart('-');
mediaSource.TranscodingUrl += "&allowVideoStreamCopy=false";
if (!allowAudioStreamCopy)
{
mediaSource.TranscodingUrl += "&allowAudioStreamCopy=false";
}
mediaSource.TranscodingUrl += "&allowAudioStreamCopy=false";
mediaSource.TranscodingContainer = streamInfo.Container;
mediaSource.TranscodingSubProtocol = streamInfo.SubProtocol;

Loading…
Cancel
Save