LiveKit JS Client SDK - v2.10.0

    Type Alias DataPublishOptions

    type DataPublishOptions = {
        destinationIdentities?: string[];
        reliable?: boolean;
        topic?: string;
    }
    Index

    Properties

    destinationIdentities?: string[]

    the identities of participants who will receive the message, will be sent to every one if empty

    reliable?: boolean

    whether to send this as reliable or lossy. For data that you need delivery guarantee (such as chat messages), use Reliable. For data that should arrive as quickly as possible, but you are ok with dropped packets, use Lossy.

    topic?: string

    the topic under which the message gets published

    MMNEPVFCICPMFPCPTTAAATR