RtspOnlyAudio
More documentation see: com.pedro.library.base.OnlyAudioBase
Created by pedro on 10/07/18.
Functions
Mute microphone, can be called before, while and after stream.
Enable a muted microphone, can be called before, while and after stream.
Get mute state of microphone.
Get record state.
Same to call: prepareAudio(64 * 1024, 32000, true, false, false);
Call this method before use @startStream. If not you will do a stream without audio.
Set an audio effect modifying microphone's PCM buffer.
Set a callback to know errors related with Video/Audio encoders
Set the mode to calculate timestamp. By default CLOCK. Must be called before startRecord/startStream or it will be ignored.
Starts recording an AAC audio.
Need be called after @prepareVideo or/and @prepareAudio.
Stop record AAC audio started with @startRecord. If you don't call it file will be unreadable.
Stop stream started with @startStream.