DefaultStreamMediaRecorder
The default implementation of StreamMediaRecorder, used as a wrapper around MediaRecorder simplifying working with it.
Parameters
The Context necessary to prepare for recording.
Functions
Deleted the recording to the file provided by recordingFile.
Releases the MediaRecorder used by StreamMediaRecorder.
Sets a StreamMediaRecorder.OnCurrentRecordingDurationChanged listener on this instance of StreamMediaRecorder.
Sets an error listener.
Sets an info listener.
Sets a StreamMediaRecorder.setOnMaxAmplitudeSampledListener listener on this instance of StreamMediaRecorder.
Sets a StreamMediaRecorder.OnMediaRecorderStateChange listener on this instance of StreamMediaRecorder.
Sets an StreamMediaRecorder.OnRecordingStarted listener on this instance of StreamMediaRecorder.
Sets an StreamMediaRecorder.OnRecordingStopped listener on this instance of StreamMediaRecorder.
Prepares the given recordingFile and starts recording. Calling the function again after a recording has already been started will reset the recording process.
Creates a File internally and starts recording. Calling the function again after a recording has already been started will reset the recording process.
Stops recording and saves the recording to the file provided by startAudioRecording.