interface RoomInputOptions {
    audioEnabled: boolean;
    audioNumChannels: number;
    audioSampleRate: number;
    closeOnDisconnect: boolean;
    noiseCancellation?: NoiseCancellationOptions;
    participantIdentity?: string;
    participantKinds?: ParticipantKind[];
    textEnabled: boolean;
    textInputCallback?: TextInputCallback;
    videoEnabled: boolean;
}

Properties

audioEnabled: boolean

If not given, default to True.

audioNumChannels: number
audioSampleRate: number
closeOnDisconnect: boolean

Close the AgentSession if the linked participant disconnects with reasons in CLIENT_INITIATED, ROOM_DELETED, or USER_REJECTED.

noiseCancellation?: NoiseCancellationOptions
participantIdentity?: string

The participant to link to. If not provided, link to the first participant. Can be overridden by the participant argument of RoomIO constructor or set_participant.

participantKinds?: ParticipantKind[]

Participant kinds accepted for auto subscription. If not provided, accept DEFAULT_PARTICIPANT_KINDS

textEnabled: boolean

If not given, default to True.

textInputCallback?: TextInputCallback
videoEnabled: boolean

If not given, default to False.