GenericOnlyAudio
Properties
Functions
Link copied to clipboard
Mute microphone, can be called before, while and after stream.
Link copied to clipboard
Enable a muted microphone, can be called before, while and after stream.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Same to call: prepareAudio(64 * 1024, 32000, true, false, false);
open fun prepareAudio(bitrate: Int, sampleRate: Int, isStereo: Boolean, echoCanceler: Boolean, noiseSuppressor: Boolean): Boolean
open fun prepareAudio(audioSource: Int, bitrate: Int, sampleRate: Int, isStereo: Boolean, echoCanceler: Boolean, noiseSuppressor: Boolean): Boolean
Call this method before use @startStream. If not you will do a stream without audio.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Set an audio effect modifying microphone's PCM buffer.
Link copied to clipboard
Set a callback to know errors related with Video/Audio encoders
Link copied to clipboard
Link copied to clipboard
Set the mode to calculate timestamp. By default CLOCK. Must be called before startRecord/startStream or it will be ignored.
Link copied to clipboard
Starts recording an AAC audio.
Link copied to clipboard
Need be called after @prepareVideo or/and @prepareAudio.
Link copied to clipboard
Stop record AAC audio started with @startRecord. If you don't call it file will be unreadable.
Link copied to clipboard
Stop stream started with @startStream.