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

    Interface SendBytesOptions

    interface SendBytesOptions {
        attributes?: Record<string, string>;
        compress?: boolean;
        destinationIdentities?: string[];
        mimeType?: string;
        name?: string;
        onProgress?: (progress: number) => void;
        topic?: string;
    }
    Index

    Properties

    attributes?: Record<string, string>
    compress?: boolean

    Whether to compress the payload (deflate-raw). Defaults to true. Compression is only applied when every recipient supports data streams v2 and the runtime can compress.

    destinationIdentities?: string[]
    mimeType?: string
    name?: string
    onProgress?: (progress: number) => void
    topic?: string