GenericFromFile
Constructors
Link copied to clipboard
constructor(openGlView: OpenGlView, connectChecker: ConnectChecker, videoDecoderInterface: VideoDecoderInterface, audioDecoderInterface: AudioDecoderInterface)
constructor(context: Context, connectChecker: ConnectChecker, videoDecoderInterface: VideoDecoderInterface, audioDecoderInterface: AudioDecoderInterface)
constructor(connectChecker: ConnectChecker, videoDecoderInterface: VideoDecoderInterface, audioDecoderInterface: AudioDecoderInterface)
Functions
Link copied to clipboard
Link copied to clipboard
Force stream to work with fps selected in prepareVideo method. Must be called before prepareVideo. This is not recommend because could produce fps problems.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Get record state.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun prepareVideo(fileDescriptor: FileDescriptor, bitRate: Int, rotation: Int, profile: Int, level: Int): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Set a callback to know errors related with Video/Audio encoders
Link copied to clipboard
Link copied to clipboard
If you want reproduce video in loop. This mode clear all effects or stream object when video is restarted. TODO: No clear it.
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
Set video bitrate of H264 in bits per second while stream.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Starts recording a MP4 video.
Link copied to clipboard
Need be called after @prepareVideo.
Link copied to clipboard
Link copied to clipboard
Stop record MP4 video started with @startRecord. If you don't call it file will be unreadable.
Link copied to clipboard
Stop stream started with @startStream.