Example #1
0
 public DirectShowPlayerBridge(ILogManager logManager
                               , IApplicationPaths appPaths
                               , IIsoManager isoManager
                               , IZipClient zipClient
                               , IHttpClient httpClient,
                               IConfigurationManager configurationManager, IJsonSerializer json, Dispatcher context)
 {
     _json   = json;
     _logger = logManager.GetLogger("DirectShowPlayerBridge");
     _player = new InternalDirectShowPlayer(logManager, appPaths, isoManager, zipClient, httpClient, configurationManager, context);
 }
 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);
 }
Example #3
0
        public DirectShowPlayerBridge(ILogManager logManager
                                      , MainBaseForm hostForm
                                      , IApplicationPaths appPaths
                                      , IIsoManager isoManager
                                      , IZipClient zipClient
                                      , IHttpClient httpClient,
                                      IConfigurationManager configurationManager, IJsonSerializer json, WindowSync windowSync)
        {
            _json       = json;
            _windowSync = windowSync;
            _logger     = logManager.GetLogger("DirectShowPlayerBridge");
            _player     = new InternalDirectShowPlayer(logManager, hostForm, appPaths, isoManager, zipClient, httpClient, configurationManager);

            _player.PlayStateChanged += _player_PlayStateChanged;

            windowSync.OnWindowSizeChanged = OnWindowSizeChanged;
        }