BaseRecordController

Deprecated

Use AsyncBaseRecordController instead, this will be removed in the future

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isRecording(): Boolean
Link copied to clipboard
open fun isRunning(): Boolean
Link copied to clipboard
open fun pauseRecord()
Link copied to clipboard
abstract fun recordAudio(audioBuffer: ByteBuffer, audioInfo: MediaCodec.BufferInfo)
Link copied to clipboard
abstract fun recordVideo(videoBuffer: ByteBuffer, videoInfo: MediaCodec.BufferInfo)
Link copied to clipboard
abstract fun resetFormats()
Link copied to clipboard
open fun resumeRecord()
Link copied to clipboard
open fun setAudioCodec(@NonNull audioCodec: AudioCodec)
Link copied to clipboard
abstract fun setAudioFormat(audioFormat: MediaFormat)
Link copied to clipboard
Link copied to clipboard
open fun setVideoCodec(@NonNull videoCodec: VideoCodec)
Link copied to clipboard
abstract fun setVideoFormat(videoFormat: MediaFormat)
Link copied to clipboard
Link copied to clipboard
abstract fun stopRecord()
Link copied to clipboard
open fun updateInfo(recordController: BaseRecordController)
open fun updateInfo(@NonNull videoCodec: VideoCodec, @NonNull audioCodec: AudioCodec)