Remove unused args

pull/1633/head
Bond_009 5 years ago
parent 5dd332b63d
commit dc194015c2

@ -584,9 +584,9 @@ namespace Emby.Server.Implementations.LiveTv.TunerHosts.HdHomerun
Logger, Logger,
Config.ApplicationPaths, Config.ApplicationPaths,
_appHost, _appHost,
_socketFactory,
_networkManager, _networkManager,
_streamHelper); _streamHelper);
} }
var enableHttpStream = true; var enableHttpStream = true;
@ -601,9 +601,19 @@ namespace Emby.Server.Implementations.LiveTv.TunerHosts.HdHomerun
{ {
httpUrl += "?transcode=" + profile; httpUrl += "?transcode=" + profile;
} }
mediaSource.Path = httpUrl; mediaSource.Path = httpUrl;
return new SharedHttpStream(mediaSource, info, streamId, FileSystem, _httpClient, Logger, Config.ApplicationPaths, _appHost, _streamHelper); return new SharedHttpStream(
mediaSource,
info,
streamId,
FileSystem,
_httpClient,
Logger,
Config.ApplicationPaths,
_appHost,
_streamHelper);
} }
return new HdHomerunUdpStream( return new HdHomerunUdpStream(
@ -616,7 +626,6 @@ namespace Emby.Server.Implementations.LiveTv.TunerHosts.HdHomerun
Logger, Logger,
Config.ApplicationPaths, Config.ApplicationPaths,
_appHost, _appHost,
_socketFactory,
_networkManager, _networkManager,
_streamHelper); _streamHelper);
} }

@ -21,8 +21,6 @@ namespace Emby.Server.Implementations.LiveTv.TunerHosts.HdHomerun
private const int RtpHeaderBytes = 12; private const int RtpHeaderBytes = 12;
private readonly IServerApplicationHost _appHost; private readonly IServerApplicationHost _appHost;
private readonly MediaBrowser.Model.Net.ISocketFactory _socketFactory;
private readonly IHdHomerunChannelCommands _channelCommands; private readonly IHdHomerunChannelCommands _channelCommands;
private readonly int _numTuners; private readonly int _numTuners;
private readonly INetworkManager _networkManager; private readonly INetworkManager _networkManager;
@ -37,13 +35,11 @@ namespace Emby.Server.Implementations.LiveTv.TunerHosts.HdHomerun
ILogger logger, ILogger logger,
IServerApplicationPaths appPaths, IServerApplicationPaths appPaths,
IServerApplicationHost appHost, IServerApplicationHost appHost,
MediaBrowser.Model.Net.ISocketFactory socketFactory,
INetworkManager networkManager, INetworkManager networkManager,
IStreamHelper streamHelper) IStreamHelper streamHelper)
: base(mediaSource, tunerHostInfo, fileSystem, logger, appPaths, streamHelper) : base(mediaSource, tunerHostInfo, fileSystem, logger, appPaths, streamHelper)
{ {
_appHost = appHost; _appHost = appHost;
_socketFactory = socketFactory;
_networkManager = networkManager; _networkManager = networkManager;
OriginalStreamId = originalStreamId; OriginalStreamId = originalStreamId;
_channelCommands = channelCommands; _channelCommands = channelCommands;

Loading…
Cancel
Save