@rendley/sdk - v1.15.19
    Preparing search index...

    Class MediaInfoService

    Pooled media info probing service, owned by the engine (see Engine::getMediaInfoService).

    When enabled (Settings::setMediaInfoMaxWorkers > 0, default 0 = disabled) media probing runs on a pool of dedicated FFmpeg workers so parallel media loads don't serialize on the main worker and its global media info lock. Each pooled probe has exclusive use of its worker, so no lock is needed. The final media file always lives on the main FFmpeg only — this pool is probe-only. Each worker instance costs ~20MB of memory; workers are created lazily and all idle workers are terminated after an idle timeout.

    probeMedia resolves to null whenever the pool cannot deliver a result (disabled, worker creation failed, or the probe threw) — the caller then probes on the main worker as before.

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Terminates all workers and resolves all queued probes to null (main worker fallback).

      Returns void

      Nothing.