AudioSessionInfo
Module: Inworld.AI
Namespace: Inworld.Entities
This file defines the data structures related to audio devices.
Variables
Variable | Description |
---|
audioSessionID | The current correlation ID of the audio session. |
currentBrainNames | The brain names of the InworldCharacters in the current audio interaction. |
currentBrainNames | The brain names of the InworldCharacters in the last audio interaction. |
Properties
Variables | Description |
---|
IsLive | Gets if the current live session has any characters. |
API
Function | Description | Parameters |
---|
StopAudio | Stops the current audio session. | |
StartAudio | Starts a new audio session. | characterBrainNames: The brain names of the characters to enable audio interaction. |
CharactersAreSame | Check 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.
Variables | Description |
---|
deviceId | The ID of the audio device. |
kind | The kind of the audio device. |
label | The label of the audio device. |
groupId | The group ID of the audio device. |
WebGLAudioDevicesData
Module: Inworld.AI.
Namespace: Inworld.Entities.
Variables | Description |
---|
devices | The list of the audio devices. |
WebGLAudioDeviceCapsData
Module: Inworld.AI.
Namespace: Inworld.Entities.
Variables | Description |
---|
caps | The caps of the audio devices. |