AudioConfig
Audio configuration class. If you don't know how to set class members, Video encoding recommendations should give you hints.
See also
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.
Enable/disable audio echo canceller. If device does not have an echo canceller, it does nothing.
Enable/disable audio noise suppressor. If device does not have a noise suppressor, it does nothing.
Check if this configuration is supported by the default encoder. If format is not supported, it won't be possible to start a stream.
The encoder mime type. Only MediaFormat.MIMETYPE_AUDIO_AAC is supported yet.
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."
The encoder bitrate in bits/s.