Beispiel #1
0
        protected MediaCodecExtractorBase(VideoInstance videoInstance, MediaSynchronizer scheduler, Surface decoderOutputSurface = null)
        {
            Scheduler                 = scheduler;
            VideoInstance             = videoInstance;
            this.decoderOutputSurface = decoderOutputSurface;

            currentState = SchedulerAsyncCommandEnum.Stop;
        }
Beispiel #2
0
 internal void AttachInstance([NotNull] VideoInstance instance)
 {
     Instance = instance ?? throw new ArgumentNullException(nameof(instance));
 }