AudioCapture
This is a global Audio Capture controller. For each separate InworldCharacter, we use class AudioInteraction to handle AudioClips.
Inspector Variables
Variable | Description |
---|
Audio Rate | The sample rate of Audio Clip |
Buffer Seconds | How long in seconds to record and generate a sample that would be sent to server. |
Properties
Property | Type | Description |
---|
IsCapturing | Bool | Get/Set the microphone to record voices. |
API
Function | Return Type | Description |
---|
StartRecording | void | Let microphone to start recording |
StopRecoridng | void | Let microphone to stop recording |