Interface DataStreamAudioOutputOptions

interface DataStreamAudioOutputOptions {
    destinationIdentity: string;
    room: Room;
    sampleRate?: number;
    waitPlaybackStart?: boolean;
    waitRemoteTrack?: TrackKind;
}

Properties

destinationIdentity: string
room: Room
sampleRate?: number
waitPlaybackStart?: boolean

When true, defer the playbackStarted event until the remote participant invokes the lk.playback_started RPC. When false (default), the event fires eagerly the moment the first audio frame is captured. Set to true when the remote avatar worker can notify actual playout start (e.g. an AvatarRunner).

waitRemoteTrack?: TrackKind