LiveKit JS Client SDK - v2.25.0
    Preparing search index...

    Type Alias ScriptTransformOptions

    type ScriptTransformOptions = {
        codec?: VideoCodec;
        encrypted?: boolean;
        hasPacketTrailer: boolean;
        kind: "decode" | "encode";
        packetTrailer?: FrameMetadataPublishOptions;
        participantIdentity: string;
        trackId: string;
    }
    Index
    codec?: VideoCodec
    encrypted?: boolean

    whether the publication of a received track is marked encrypted, unused on encode

    hasPacketTrailer: boolean

    Whether the published track advertises packet trailer features. When false, the cryptor skips the per-frame trailer extraction path entirely on decode.

    kind: "decode" | "encode"

    Packet trailer metadata to append on published video frames.

    participantIdentity: string
    trackId: string