|
|
|
@ -8,7 +8,6 @@ using System.Text;
|
|
|
|
|
using System.Threading;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using MediaBrowser.Common.Extensions;
|
|
|
|
|
using MediaBrowser.Common.Net;
|
|
|
|
|
using MediaBrowser.Controller;
|
|
|
|
|
using MediaBrowser.Controller.Configuration;
|
|
|
|
|
using MediaBrowser.Controller.Devices;
|
|
|
|
@ -71,7 +70,6 @@ namespace MediaBrowser.Api.Playback
|
|
|
|
|
protected IMediaSourceManager MediaSourceManager { get; private set; }
|
|
|
|
|
protected IJsonSerializer JsonSerializer { get; private set; }
|
|
|
|
|
|
|
|
|
|
public static IHttpClient HttpClient { get; private set; }
|
|
|
|
|
protected IAuthorizationContext AuthorizationContext { get; private set; }
|
|
|
|
|
|
|
|
|
|
protected EncodingHelper EncodingHelper { get; set; }
|
|
|
|
@ -80,7 +78,6 @@ namespace MediaBrowser.Api.Playback
|
|
|
|
|
/// Initializes a new instance of the <see cref="BaseStreamingService" /> class.
|
|
|
|
|
/// </summary>
|
|
|
|
|
protected BaseStreamingService(
|
|
|
|
|
IHttpClient httpClient,
|
|
|
|
|
IServerConfigurationManager serverConfig,
|
|
|
|
|
IUserManager userManager,
|
|
|
|
|
ILibraryManager libraryManager,
|
|
|
|
@ -94,7 +91,6 @@ namespace MediaBrowser.Api.Playback
|
|
|
|
|
IJsonSerializer jsonSerializer,
|
|
|
|
|
IAuthorizationContext authorizationContext)
|
|
|
|
|
{
|
|
|
|
|
HttpClient = httpClient;
|
|
|
|
|
ServerConfigurationManager = serverConfig;
|
|
|
|
|
UserManager = userManager;
|
|
|
|
|
LibraryManager = libraryManager;
|
|
|
|
|