@fishjam-cloud/js-server-sdk - v0.29.0
    Preparing search index...

    Interface CreateCompositionRequest

    CreateCompositionRequest

    interface CreateCompositionRequest {
        autostart?: boolean;
        cleanupWithoutInputs?: boolean;
    }
    Index

    Properties

    autostart?: boolean

    If true, outputs will immediately start producing audio and video. If false, call POST /api/composition/{composition_id}/start to start the composition.

    CreateCompositionRequest

    cleanupWithoutInputs?: boolean

    If true (default), the composition will be cleaned up after 5 minutes when all inputs have zero bitrate, regardless of output bitrate. This prevents circular liveness when composition output is sent to a stream. If false, cleanup only triggers when both inputs and outputs have zero bitrate.

    CreateCompositionRequest