Camera1Capturer
Constructors
Link copied to clipboard
                  constructor(cameraName: String, eventsHandler: CameraVideoCapturer.CameraEventsHandler, captureToTexture: Boolean)
Inherited functions
Link copied to clipboard
                  open fun addMediaRecorderToCamera(mediaRecorder: MediaRecorder, resultHandler: CameraVideoCapturer.MediaRecorderHandler)
Add MediaRecorder to camera pipeline.
Link copied to clipboard
                  Link copied to clipboard
                  open fun initialize(surfaceTextureHelper: SurfaceTextureHelper, applicationContext: Context, capturerObserver: CapturerObserver)
abstract fun initialize(surfaceTextureHelper: SurfaceTextureHelper, applicationContext: Context, capturerObserver: CapturerObserver)
This function is used to initialize the camera thread, the android application context, and the capture observer.
Link copied to clipboard
                  Link copied to clipboard
                  Link copied to clipboard
                  Remove MediaRecorder from camera pipeline.
Link copied to clipboard
                  Start capturing frames in a format that is as close as possible to 
width x height and framerate.Link copied to clipboard
                  Stop capturing.
Link copied to clipboard
                  Switch camera to the next valid camera id.
open fun switchCamera(switchEventsHandler: CameraVideoCapturer.CameraSwitchHandler, cameraName: String)
abstract fun switchCamera(switchEventsHandler: CameraVideoCapturer.CameraSwitchHandler, cameraName: String)
Switch camera to the specified camera id.