Skip to main content

AudioSessionInfo

Module: Inworld.AI Namespace: Inworld.Entities

This file defines the data structures related to audio devices.

Variables

VariableDescription
audioSessionIDThe current correlation ID of the audio session.
currentBrainNamesThe brain names of the InworldCharacters in the current audio interaction.
currentBrainNamesThe brain names of the InworldCharacters in the last audio interaction.

Properties

VariablesDescription
IsLiveGets if the current live session has any characters.

API

FunctionDescriptionParameters
StopAudioStops the current audio session.
StartAudioStarts a new audio session.characterBrainNames: The brain names of the characters to enable audio interaction.
CharactersAreSameCheck if the incoming characters are same in the current session.characterBrainNames: The brain names of the characters to enable audio interaction.

AudioDevice

Module: Inworld.AI. Namespace: Inworld.Entities.

VariablesDescription
deviceIdThe ID of the audio device.
kindThe kind of the audio device.
labelThe label of the audio device.
groupIdThe group ID of the audio device.

WebGLAudioDevicesData

Module: Inworld.AI. Namespace: Inworld.Entities.

VariablesDescription
devicesThe list of the audio devices.

WebGLAudioDeviceCapsData

Module: Inworld.AI. Namespace: Inworld.Entities.

VariablesDescription
capsThe caps of the audio devices.