Whether to cache the online file:
true: Cache the online file.
false: (default) Do not cache the online file.
The audio encoder configurations.
You can set the audio encoder configurations in either of the following ways:
Firefox does not support setting the audio encoding rate.
The type of the audio source:
File: An File object, representing a local audio file.
string: The online audio file retrieved from an HTTPS address. Ensure the address supports HTTPS and CORS.
AudioBuffer: An AudioBuffer object, representing the raw data in PCM format.
Configurations for the audio track from an audio file or
AudioBufferobject. Set these configurations when calling AgoraRTC.createBufferSourceAudioTrack.