本文整理汇总了C#中IIsoManager类的典型用法代码示例。如果您正苦于以下问题:C# IIsoManager类的具体用法?C# IIsoManager怎么用?C# IIsoManager使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
IIsoManager类属于命名空间,在下文中一共展示了IIsoManager类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: InternalDirectShowPlayer
public InternalDirectShowPlayer(ILogManager logManager, IHiddenWindow hiddenWindow, IPresentationManager presentation, ISessionManager sessionManager, IPlaybackManager playbackManager, ITheaterConfigurationManager config, IIsoManager isoManager, IUserInputManager inputManager, IZipClient zipClient, IHttpClient httpClient, IConnectionManager connectionManager)
{
_logger = logManager.GetLogger("InternalDirectShowPlayer");
_hiddenWindow = hiddenWindow;
_presentation = presentation;
_sessionManager = sessionManager;
_httpClient = httpClient;
_connectionManager = connectionManager;
_playbackManager = playbackManager;
_config = config;
_isoManager = isoManager;
_inputManager = inputManager;
_zipClient = zipClient;
_config.Configuration.InternalPlayerConfiguration.VideoConfig.SetDefaults();
_config.Configuration.InternalPlayerConfiguration.AudioConfig.SetDefaults();
_config.Configuration.InternalPlayerConfiguration.SubtitleConfig.SetDefaults();
_config.Configuration.InternalPlayerConfiguration.COMConfig.SetDefaults();
//use a static object so we keep the libraries in the same place. Doesn't usually matter, but the EVR Presenter does some COM hooking that has problems if we change the lib address.
//if (_privateCom == null)
// _privateCom = new URCOMLoader(_config, _zipClient);
URCOMLoader.Instance.Initialize(_config, _zipClient, logManager);
EnsureMediaFilters();
}
示例2: AudioImageProvider
public AudioImageProvider(IIsoManager isoManager, IMediaEncoder mediaEncoder, IServerConfigurationManager config, IFileSystem fileSystem)
{
_isoManager = isoManager;
_mediaEncoder = mediaEncoder;
_config = config;
_fileSystem = fileSystem;
}
示例3: InternalDirectShowPlayer
//public URCOMLoader PrivateCom
//{
// get
// {
// return _privateCom;
// }
//}
public InternalDirectShowPlayer(
ILogManager logManager
, MainBaseForm hostForm
//, IPresentationManager presentation
//, ISessionManager sessionManager
, IApplicationPaths appPaths
, IIsoManager isoManager
//, IUserInputManager inputManager
, IZipClient zipClient
, IHttpClient httpClient, IConfigurationManager configurationManager)
{
_logger = logManager.GetLogger("InternalDirectShowPlayer");
_hostForm = hostForm;
//_presentation = presentation;
//_sessionManager = sessionManager;
_httpClient = httpClient;
_config = configurationManager;
_isoManager = isoManager;
//_inputManager = inputManager;
_zipClient = zipClient;
var config = GetConfiguration();
config.VideoConfig.SetDefaults();
config.AudioConfig.SetDefaults();
config.SubtitleConfig.SetDefaults();
config.COMConfig.SetDefaults();
//use a static object so we keep the libraries in the same place. Doesn't usually matter, but the EVR Presenter does some COM hooking that has problems if we change the lib address.
//if (_privateCom == null)
// _privateCom = new URCOMLoader(_config, _zipClient);
URCOMLoader.Instance.Initialize(appPaths.ProgramDataPath, _zipClient, logManager, configurationManager);
EnsureMediaFilters(appPaths.ProgramDataPath);
}
示例4: BaseStreamingService
/// <summary>
/// Initializes a new instance of the <see cref="BaseStreamingService" /> class.
/// </summary>
/// <param name="appPaths">The app paths.</param>
/// <param name="userManager">The user manager.</param>
/// <param name="libraryManager">The library manager.</param>
/// <param name="isoManager">The iso manager.</param>
/// <param name="mediaEncoder">The media encoder.</param>
protected BaseStreamingService(IServerApplicationPaths appPaths, IUserManager userManager, ILibraryManager libraryManager, IIsoManager isoManager, IMediaEncoder mediaEncoder)
{
ApplicationPaths = appPaths;
UserManager = userManager;
LibraryManager = libraryManager;
IsoManager = isoManager;
MediaEncoder = mediaEncoder;
}
示例5: VideoImageProvider
public VideoImageProvider(ILogManager logManager, IServerConfigurationManager configurationManager, IMediaEncoder mediaEncoder, IIsoManager isoManager)
: base(logManager, configurationManager)
{
_mediaEncoder = mediaEncoder;
_isoManager = isoManager;
ImageCache = new FileSystemRepository(Kernel.Instance.FFMpegManager.VideoImagesDataPath);
}
示例6: VideoImageProvider
public VideoImageProvider(IIsoManager isoManager, IMediaEncoder mediaEncoder, IServerConfigurationManager config, ILibraryManager libraryManager, ILogger logger)
{
_isoManager = isoManager;
_mediaEncoder = mediaEncoder;
_config = config;
_libraryManager = libraryManager;
_logger = logger;
}
示例7: AudioEncoder
public AudioEncoder(string ffmpegPath, ILogger logger, IFileSystem fileSystem, IApplicationPaths appPaths, IIsoManager isoManager, ILiveTvManager liveTvManager)
{
_ffmpegPath = ffmpegPath;
_logger = logger;
_fileSystem = fileSystem;
_appPaths = appPaths;
_isoManager = isoManager;
_liveTvManager = liveTvManager;
}
示例8: BaseStreamingService
/// <summary>
/// Initializes a new instance of the <see cref="BaseStreamingService" /> class.
/// </summary>
/// <param name="appPaths">The app paths.</param>
/// <param name="userManager">The user manager.</param>
/// <param name="libraryManager">The library manager.</param>
/// <param name="isoManager">The iso manager.</param>
/// <param name="mediaEncoder">The media encoder.</param>
protected BaseStreamingService(IServerApplicationPaths appPaths, IUserManager userManager, ILibraryManager libraryManager, IIsoManager isoManager, IMediaEncoder mediaEncoder, IDtoService dtoService, IFileSystem fileSystem)
{
FileSystem = fileSystem;
DtoService = dtoService;
ApplicationPaths = appPaths;
UserManager = userManager;
LibraryManager = libraryManager;
IsoManager = isoManager;
MediaEncoder = mediaEncoder;
}
示例9: BaseStreamingService
/// <summary>
/// Initializes a new instance of the <see cref="BaseStreamingService" /> class.
/// </summary>
/// <param name="serverConfig">The server configuration.</param>
/// <param name="userManager">The user manager.</param>
/// <param name="libraryManager">The library manager.</param>
/// <param name="isoManager">The iso manager.</param>
/// <param name="mediaEncoder">The media encoder.</param>
/// <param name="dtoService">The dto service.</param>
/// <param name="fileSystem">The file system.</param>
/// <param name="itemRepository">The item repository.</param>
protected BaseStreamingService(IServerConfigurationManager serverConfig, IUserManager userManager, ILibraryManager libraryManager, IIsoManager isoManager, IMediaEncoder mediaEncoder, IDtoService dtoService, IFileSystem fileSystem, IItemRepository itemRepository)
{
ItemRepository = itemRepository;
FileSystem = fileSystem;
DtoService = dtoService;
ServerConfigurationManager = serverConfig;
UserManager = userManager;
LibraryManager = libraryManager;
IsoManager = isoManager;
MediaEncoder = mediaEncoder;
}
示例10: InternalDirectShowPlayer
public InternalDirectShowPlayer(ILogManager logManager, IHiddenWindow hiddenWindow, IPresentationManager presentation, IUserInputManager userInput, IApiClient apiClient, IPlaybackManager playbackManager, ITheaterConfigurationManager config, IIsoManager isoManager)
{
_logger = logManager.GetLogger("DirectShowPlayer");
_hiddenWindow = hiddenWindow;
_presentation = presentation;
_userInput = userInput;
_apiClient = apiClient;
_playbackManager = playbackManager;
_config = config;
_isoManager = isoManager;
}
示例11: DirectShowPlayerBridge
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);
}
示例12: VideoImagesTask
/// <summary>
/// Initializes a new instance of the <see cref="AudioImagesTask" /> class.
/// </summary>
/// <param name="libraryManager">The library manager.</param>
/// <param name="logManager">The log manager.</param>
/// <param name="mediaEncoder">The media encoder.</param>
/// <param name="isoManager">The iso manager.</param>
public VideoImagesTask(ILibraryManager libraryManager, ILogManager logManager, IMediaEncoder mediaEncoder, IIsoManager isoManager, IItemRepository itemRepo)
{
_libraryManager = libraryManager;
_mediaEncoder = mediaEncoder;
_isoManager = isoManager;
_itemRepo = itemRepo;
_logger = logManager.GetLogger(GetType().Name);
ImageCache = new FileSystemRepository(Kernel.Instance.FFMpegManager.VideoImagesDataPath);
libraryManager.ItemAdded += libraryManager_ItemAdded;
libraryManager.ItemUpdated += libraryManager_ItemAdded;
}
示例13: BaseStreamingService
/// <summary>
/// Initializes a new instance of the <see cref="BaseStreamingService" /> class.
/// </summary>
protected BaseStreamingService(IServerConfigurationManager serverConfig, IUserManager userManager, ILibraryManager libraryManager, IIsoManager isoManager, IMediaEncoder mediaEncoder, IFileSystem fileSystem, ILiveTvManager liveTvManager, IDlnaManager dlnaManager, IChannelManager channelManager, ISubtitleEncoder subtitleEncoder)
{
SubtitleEncoder = subtitleEncoder;
ChannelManager = channelManager;
DlnaManager = dlnaManager;
LiveTvManager = liveTvManager;
FileSystem = fileSystem;
ServerConfigurationManager = serverConfig;
UserManager = userManager;
LibraryManager = libraryManager;
IsoManager = isoManager;
MediaEncoder = mediaEncoder;
}
示例14: InternalDirectShowPlayer
public InternalDirectShowPlayer(ILogManager logManager, IHiddenWindow hiddenWindow, IPresentationManager presentation, ISessionManager sessionManager, IApiClient apiClient, IPlaybackManager playbackManager, ITheaterConfigurationManager config, IIsoManager isoManager, IUserInputManager inputManager, IZipClient zipClient, IHttpClient httpClient)
{
_logger = logManager.GetLogger("InternalDirectShowPlayer");
_hiddenWindow = hiddenWindow;
_presentation = presentation;
_sessionManager = sessionManager;
_apiClient = apiClient;
_httpClient = httpClient;
_playbackManager = playbackManager;
_config = config;
_isoManager = isoManager;
_inputManager = inputManager;
_zipClient = zipClient;
}
示例15: BaseStreamingService
/// <summary>
/// Initializes a new instance of the <see cref="BaseStreamingService" /> class.
/// </summary>
protected BaseStreamingService(IServerConfigurationManager serverConfig, IUserManager userManager, ILibraryManager libraryManager, IIsoManager isoManager, IMediaEncoder mediaEncoder, IFileSystem fileSystem, IDlnaManager dlnaManager, ISubtitleEncoder subtitleEncoder, IDeviceManager deviceManager, IMediaSourceManager mediaSourceManager, IZipClient zipClient, IJsonSerializer jsonSerializer)
{
JsonSerializer = jsonSerializer;
ZipClient = zipClient;
MediaSourceManager = mediaSourceManager;
DeviceManager = deviceManager;
SubtitleEncoder = subtitleEncoder;
DlnaManager = dlnaManager;
FileSystem = fileSystem;
ServerConfigurationManager = serverConfig;
UserManager = userManager;
LibraryManager = libraryManager;
IsoManager = isoManager;
MediaEncoder = mediaEncoder;
}