Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MediaServicesV2Encoder"/> class.
 /// </summary>
 /// <param name="log">IObjectLogger log.</param>
 /// <param name="settingsProvider">ISettingsProvider settingsProvider.</param>
 /// <param name="mediaServicesV2Service">IMediaServicesV2Service.</param>
 /// <param name="mediaServicesPreset">IMediaServicesPreset.</param>
 public MediaServicesV2Encoder(IObjectLogger <MediaServicesV2Encoder> log,
                               ISettingsProvider settingsProvider,
                               IMediaServicesV2EncodeService mediaServicesV2Service,
                               IMediaServicesPreset mediaServicesPreset)
 {
     _log = log;
     _settingsProvider       = settingsProvider;
     _mediaServicesV2Service = mediaServicesV2Service;
     _mediaServicesPreset    = mediaServicesPreset;
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MediaServicesV2CallbackHandler"/> class.
 /// </summary>
 /// <param name="logger">logger.</param>
 /// <param name="amsV2Service">amsV2Service.</param>
 /// <param name="storageService">storageService.</param>
 /// <param name="eventPublisher">eventPublisher.</param>
 public MediaServicesV2CallbackHandler(
     IObjectLogger <MediaServicesV2CallbackHandler> logger,
     IMediaServicesV2EncodeService amsV2Service,
     IEventGridPublisher eventPublisher)
     : base(
         logger,
         eventPublisher,
         "F7CB7E33-5731-4B48-B8ED-392BF53F3C3B",
         new Dictionary <string, string[]>
 {
     { CustomEventTypes.ResponseEncodeMediaServicesV2TranslateCallback, AllVersionList }
 })
 {
     _log          = logger;
     _amsV2Service = amsV2Service;
 }