aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/Playback/BaseStreamingService.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-10-01 20:28:16 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-10-01 20:28:16 -0400
commit0690b4f2e09608b9f25ebb8ef9a325b57135e529 (patch)
tree051661ff804a5a5f58402e534df96b5ea59c7a93 /MediaBrowser.Api/Playback/BaseStreamingService.cs
parent4aa959c1e266442804b6961aeb2d09f4b812f744 (diff)
Add user cinema mode setting
Diffstat (limited to 'MediaBrowser.Api/Playback/BaseStreamingService.cs')
-rw-r--r--MediaBrowser.Api/Playback/BaseStreamingService.cs20
1 files changed, 2 insertions, 18 deletions
diff --git a/MediaBrowser.Api/Playback/BaseStreamingService.cs b/MediaBrowser.Api/Playback/BaseStreamingService.cs
index 74eb9c012..fbdd1d680 100644
--- a/MediaBrowser.Api/Playback/BaseStreamingService.cs
+++ b/MediaBrowser.Api/Playback/BaseStreamingService.cs
@@ -1,5 +1,4 @@
-using System.Net.WebSockets;
-using MediaBrowser.Common.Extensions;
+using MediaBrowser.Common.Extensions;
using MediaBrowser.Common.IO;
using MediaBrowser.Controller.Channels;
using MediaBrowser.Controller.Configuration;
@@ -779,24 +778,9 @@ namespace MediaBrowser.Api.Playback
private bool SupportsThrottleWithStream
{
- // TODO: These checks are a hack.
- // They should go through the IHttpServer interface or IServerManager to find out this information
-
get
{
-#if __MonoCS__
- return true;
-#endif
-
- try
- {
- new ClientWebSocket();
- return true;
- }
- catch
- {
- return false;
- }
+ return false;
}
}