|
|
@ -520,10 +520,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;
|
|
|
|
|
|
|
|
|
|
|
|