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

    Type Alias ScriptTransformOptions

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

    Properties

    codec?: VideoCodec
    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