aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Channels
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2015-03-26 12:58:02 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2015-03-26 12:58:02 -0400
commit348b8c44142ce14a8395552f8d429fb9d0b24a36 (patch)
treec853efe8395ded4ea0f5c08f521c2863028a46e3 /MediaBrowser.Controller/Channels
parent46c92107490263f8e6abefbd2259780013fa195d (diff)
use server to build initial stream url's
Diffstat (limited to 'MediaBrowser.Controller/Channels')
-rw-r--r--MediaBrowser.Controller/Channels/ChannelMediaInfo.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/Channels/ChannelMediaInfo.cs b/MediaBrowser.Controller/Channels/ChannelMediaInfo.cs
index 0c2e30923c..94fa1ac02f 100644
--- a/MediaBrowser.Controller/Channels/ChannelMediaInfo.cs
+++ b/MediaBrowser.Controller/Channels/ChannelMediaInfo.cs
@@ -62,7 +62,8 @@ namespace MediaBrowser.Controller.Channels
RunTimeTicks = RunTimeTicks,
Name = id,
Id = id,
- ReadAtNativeFramerate = ReadAtNativeFramerate
+ ReadAtNativeFramerate = ReadAtNativeFramerate,
+ SupportsDirectStream = Protocol == MediaProtocol.File || Protocol == MediaProtocol.Http
};
var bitrate = (AudioBitrate ?? 0) + (VideoBitrate ?? 0);