public TranscodingAPI(MediaSource source, TranscodingStatusChanged action)
        {
            Source = source;
            _Action = action;
            Status = TranscodingStatus.Unknown;

            TranscodingNotifyingService.Start();
            TranscodingNotifyingService.OnMediaSourceStatusChanged += TranscodingNotifyingService_OnMediaSourceStatusChanged;
        }
示例#2
0
        public TranscodingAPI(MediaSource source, TranscodingStatusChanged action)
        {
            Source  = source;
            _Action = action;
            Status  = TranscodingStatus.Unknown;

            TranscodingNotifyingService.Start();
            TranscodingNotifyingService.OnMediaSourceStatusChanged += TranscodingNotifyingService_OnMediaSourceStatusChanged;
        }