public JT1078HlsNormalMsgHostedService(
     ILoggerFactory loggerFactory,
     M3U8FileManage M3U8FileManage,
     JT1078HttpSessionManager httpSessionManager,
     MessageDispatchDataService messageDispatchDataService,
     IJT1078MsgConsumer msgConsumer)
 {
     logger                          = loggerFactory.CreateLogger <JT1078HlsNormalMsgHostedService>();
     MsgConsumer                     = msgConsumer;
     HttpSessionManager              = httpSessionManager;
     this.M3U8FileManage             = M3U8FileManage;
     this.messageDispatchDataService = messageDispatchDataService;
 }
 public JT1078FMp4NormalMsgHostedService(
     MessageDispatchDataService messageDispatchDataService,
     IMemoryCache memoryCache,
     ILoggerFactory loggerFactory,
     FMp4Encoder fM4Encoder,
     JT1078HttpSessionManager httpSessionManager,
     IJT1078MsgConsumer msgConsumer)
 {
     Logger             = loggerFactory.CreateLogger <JT1078FMp4NormalMsgHostedService>();
     JT1078MsgConsumer  = msgConsumer;
     HttpSessionManager = httpSessionManager;
     FM4Encoder         = fM4Encoder;
     this.memoryCache   = memoryCache;
     this.messageDispatchDataService = messageDispatchDataService;
 }
示例#3
0
 public JT1078FMp4NormalMsgHostedService(
     MessageDispatchDataService messageDispatchDataService,
     IMemoryCache memoryCache,
     ILoggerFactory loggerFactory,
     H264Decoder h264Decoder,
     FMp4Encoder fM4Encoder,
     JT1078HttpSessionManager httpSessionManager)
 {
     Logger             = loggerFactory.CreateLogger <JT1078FMp4NormalMsgHostedService>();
     HttpSessionManager = httpSessionManager;
     FM4Encoder         = fM4Encoder;
     H264Decoder        = h264Decoder;
     this.memoryCache   = memoryCache;
     this.messageDispatchDataService = messageDispatchDataService;
     avFrameDict = new ConcurrentDictionary <string, List <H264NALU> >();
 }
 public MessageDispatchHostedService(IJT1078MsgConsumer JT1078MsgConsumer,
                                     MessageDispatchDataService messageDispatchDataService)
 {
     this.JT1078MsgConsumer          = JT1078MsgConsumer;
     this.messageDispatchDataService = messageDispatchDataService;
 }