AndroidMuxerRecordController

Created by pedro on 08/03/19. Class to control video recording with MediaMuxer.

Constructors

Link copied to clipboard
constructor()

Functions

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
open fun recordAudio(audioBuffer: ByteBuffer, audioInfo: MediaCodec.BufferInfo)
Link copied to clipboard
open fun recordVideo(videoBuffer: ByteBuffer, videoInfo: MediaCodec.BufferInfo)
Link copied to clipboard
open fun resetFormats()
Link copied to clipboard
open fun resumeRecord()
Link copied to clipboard
open fun setAudioCodec(audioCodec: AudioCodec)
Link copied to clipboard
open fun setAudioFormat(audioFormat: MediaFormat)
open fun setAudioFormat(audioFormat: MediaFormat, isOnlyAudio: Boolean)
Link copied to clipboard
open fun setVideoCodec(videoCodec: VideoCodec)
Link copied to clipboard
open fun setVideoFormat(videoFormat: MediaFormat)
open fun setVideoFormat(videoFormat: MediaFormat, isOnlyVideo: Boolean)
Link copied to clipboard
open fun stopRecord()