예제 #1
0
        private IMediaScript SetupScript()
        {
            var factory = FactoryConfig.CreateWithConfig();

            return(new MediaScript(factory, new FileSystemService()));
        }
예제 #2
0
        private IMediaInfoReader SetupInfo()
        {
            var factory = FactoryConfig.CreateWithConfig();

            return(new MediaInfoReader(factory));
        }
 protected IProcessWorkerEncoder SetupManager()
 {
     _factory = FactoryConfig.CreateWithConfig();
     return(_factory.CreateEncoder(null, null, _feed.RunCallback));
 }
 private IMediaMuxer SetupMuxer()
 {
     _factory = FactoryConfig.CreateWithConfig();
     return(new MediaMuxer(_factory, new FileSystemService(), new MediaInfoReader(_factory)));
 }
예제 #5
0
 private IMediaEncoder SetupEncoder()
 {
     _factory = FactoryConfig.CreateWithConfig();
     return(new MediaEncoder(_factory));
 }