diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-01-03 14:01:43 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-01-03 14:01:43 -0500 |
| commit | 98a7f5b5d703316c9ac772de5086ec7b1db14ca7 (patch) | |
| tree | 19a90716262feaff1e11d5d8e6cf6fd21d803c0b | |
| parent | 316b7da1a357604d4d935734b91c918d821eb3f2 (diff) | |
revert segment length change
| -rw-r--r-- | MediaBrowser.Api/Playback/BaseStreamingService.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/MediaBrowser.Api/Playback/BaseStreamingService.cs b/MediaBrowser.Api/Playback/BaseStreamingService.cs index 622478b9bd..a9c5599a37 100644 --- a/MediaBrowser.Api/Playback/BaseStreamingService.cs +++ b/MediaBrowser.Api/Playback/BaseStreamingService.cs @@ -1562,12 +1562,12 @@ namespace MediaBrowser.Api.Playback RequestedUrl = url }; - if ((Request.UserAgent ?? string.Empty).IndexOf("iphone", StringComparison.OrdinalIgnoreCase) != -1 || - (Request.UserAgent ?? string.Empty).IndexOf("ipad", StringComparison.OrdinalIgnoreCase) != -1 || - (Request.UserAgent ?? string.Empty).IndexOf("ipod", StringComparison.OrdinalIgnoreCase) != -1) - { - state.SegmentLength = 6; - } + //if ((Request.UserAgent ?? string.Empty).IndexOf("iphone", StringComparison.OrdinalIgnoreCase) != -1 || + // (Request.UserAgent ?? string.Empty).IndexOf("ipad", StringComparison.OrdinalIgnoreCase) != -1 || + // (Request.UserAgent ?? string.Empty).IndexOf("ipod", StringComparison.OrdinalIgnoreCase) != -1) + //{ + // state.SegmentLength = 6; + //} if (!string.IsNullOrWhiteSpace(request.AudioCodec)) { |
