public DirectShowPlayerBridge(ILogManager logManager , MainBaseForm hostForm , IApplicationPaths appPaths , IIsoManager isoManager , IZipClient zipClient , IHttpClient httpClient, IConfigurationManager configurationManager, IJsonSerializer json) { _json = json; _logger = logManager.GetLogger("DirectShowPlayerBridge"); _player = new InternalDirectShowPlayer(logManager, hostForm, appPaths, isoManager, zipClient, httpClient, configurationManager); }
public DirectShowPlayer( InternalDirectShowPlayer playerWrapper , MainBaseForm hostForm , ILogger logger , DirectShowPlayerConfiguration config , IHttpClient httpClient) { _playerWrapper = playerWrapper; _hostForm = hostForm; _logger = logger; _config = config; _httpClient = httpClient; _hostForm.GraphNotify += _hostForm_GraphNotify; _hostForm.DvdEvent += _hostForm_DvdEvent; }