Beispiel #1
0
        private EncoderStatus StartFfmpeg(CancellationTokenSourceWrapper tokenSource, string arguments)
        {
            _watchDogTimer.Start(tokenSource);
            EncoderStatus encoderStatus = _ffmpeg.Start(arguments, tokenSource, StepData.DataReceivedHandler.ProcessData).Result;

            _watchDogTimer.Stop();

            return(encoderStatus);
        }