Update MediaInfoService.cs
This commit is contained in:
parent
963b69c7b2
commit
0e920a6d5f
|
@ -461,13 +461,13 @@ namespace MediaBrowser.Api.Playback
|
||||||
|
|
||||||
if (mediaSource.SupportsDirectStream)
|
if (mediaSource.SupportsDirectStream)
|
||||||
{
|
{
|
||||||
if (mediaSource.IsRemote && forceDirectPlayRemoteMediaSource)// && user.Policy.ForceRemoteSourceTranscoding)
|
if (mediaSource.IsRemote && forceDirectPlayRemoteMediaSource && user.Policy.ForceRemoteSourceTranscoding)
|
||||||
{
|
{
|
||||||
mediaSource.SupportsDirectStream = true; //false
|
mediaSource.SupportsDirectStream = false;
|
||||||
// }
|
}
|
||||||
// else if (mediaSource.IsRemote && user.Policy.ForceRemoteSourceTranscoding)
|
else if (mediaSource.IsRemote && user.Policy.ForceRemoteSourceTranscoding)
|
||||||
// {
|
{
|
||||||
// mediaSource.SupportsDirectStream = false;
|
mediaSource.SupportsDirectStream = false;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -528,7 +528,6 @@ namespace MediaBrowser.Api.Playback
|
||||||
streamBuilder.BuildAudioItem(options) :
|
streamBuilder.BuildAudioItem(options) :
|
||||||
streamBuilder.BuildVideoItem(options);
|
streamBuilder.BuildVideoItem(options);
|
||||||
|
|
||||||
|
|
||||||
if (mediaSource.IsRemote && user.Policy.ForceRemoteSourceTranscoding)
|
if (mediaSource.IsRemote && user.Policy.ForceRemoteSourceTranscoding)
|
||||||
{
|
{
|
||||||
if (streamInfo != null)
|
if (streamInfo != null)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user