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

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