protected MediaCodecExtractorBase(VideoInstance videoInstance, MediaSynchronizer scheduler, Surface decoderOutputSurface = null) { Scheduler = scheduler; VideoInstance = videoInstance; this.decoderOutputSurface = decoderOutputSurface; currentState = SchedulerAsyncCommandEnum.Stop; }
internal void AttachInstance([NotNull] VideoInstance instance) { Instance = instance ?? throw new ArgumentNullException(nameof(instance)); }