API reference
API reference
Select your platform
No SDKs available
No versions available

IAudioInputSource Interface

This interface defines the methods and properties required for an audio input source. It is used to start and stop recording, check if recording is in progress, and handle events related to recording.

Events

Invoked when the instance starts Recording.
Invoked when an AudioClip couldn't be created to start recording.
Invoked everytime an audio frame is collected. Includes the frame.
Invoked when the instance stop Recording.
Invoked when the user mutes their input to this audio source
Invoked when the user unmutes their input to this audio source

Properties

Returns true if the audio input source is currently recording.
Settings determining how audio is encoded by the source.
NOTE: Default values for AudioEncoding are server optimized to reduce latency.
Returns true if the audio source is currently muted

Member Functions

Starts recording audio with the specified sample length.
Parameters
sampleLen
The length of the audio sample to record.
Stops recording audio.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon