AudioCodecConfig
Audio configuration class. If you don't know how to set class members, Video encoding recommendations should give you hints.
Constructors
Properties
Audio byte format.
Audio channel configuration. From AudioRecord API: " AudioFormat#CHANNEL_IN_MONO is guaranteed to work on all devices."
Get default encoder name. If name is null, it won't be possible to start a stream.
Audio capture sample rate in Hz. From AudioRecord API: "44100Hz is currently the only rate that is guaranteed to work on all devices, but other rates such as 22050, 16000, and 11025 may work on some devices."
Converts AudioCodecConfig to AudioSourceConfig.
The encoder bitrate in bits/s.
Functions
Copies the audio configuration with new values.
Whether AudioCodecConfig is compatible with AudioCodecConfig.
Whether AudioCodecConfig is compatible with AudioSourceConfig.
Whether configuration is supported by the default encoder. If format is not supported, it won't be possible to start a stream.
Check if this configuration is supported by the specified encoder. If format is not supported, it won't be possible to start a stream.