public EncodingProcess()
        {
            EncodingOptions = TranscodeOptions.MPEGTS;
            SegmentOptions = new SegmentationOptions();
            GenerateHlsStreamThread = new ThreadStart(GenerateHlsStream);
            SegmentHlsStreamThread = new ThreadStart(SegmentHlsStream);

            this.ProcessId = Guid.NewGuid().ToString();
            ProcessHistory.Add(this.ProcessId, this);
            Current = this;
        }
Esempio n. 2
0
        public EncodingProcess()
        {
            EncodingOptions         = TranscodeOptions.MPEGTS;
            SegmentOptions          = new SegmentationOptions();
            GenerateHlsStreamThread = new ThreadStart(GenerateHlsStream);
            SegmentHlsStreamThread  = new ThreadStart(SegmentHlsStream);


            this.ProcessId = Guid.NewGuid().ToString();
            ProcessHistory.Add(this.ProcessId, this);
            Current = this;
        }