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

    Class MediaTranscodeService

    Pooled media transcoding service, owned by the engine (see Engine::getMediaTranscodeService).

    When enabled (Settings::setMediaTranscodeMaxWorkers > 0, default 1) compatibility transcodes during media load run on dedicated FFmpeg workers instead of the main worker, so a minutes-long transcode neither holds the global media info lock nor queues every other main-worker operation behind it. Additional transcode requests wait for a free pool slot — only transcodes wait, nothing else. Each worker instance costs ~20MB of memory; workers are created lazily and all idle workers are terminated after an idle timeout.

    transcodeMedia resolves to null whenever the pool cannot deliver a result (disabled, worker creation failed, or the transcode failed) — the caller then transcodes on the main worker as before.

    Index

    Constructors

    Methods

    Constructors

    Methods

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

      Returns void

      Nothing.