CameraCaptureSource
CameraCaptureSource is an interface for camera capture sources with additional features not covered by VideoCaptureSource.
All the APIs here can be called regardless of whether the AudioVideoFacade is started or not.
Inheritors
Properties
Functions
Add a capture source observer to receive callbacks from the source on lifecycle events which can be used to trigger UI. This observer is entirely optional.
Add a video sink which will immediately begin to receive new frames.
Remove a capture source observer
Remove a video sink which will no longer receive new frames on return
Set max resolution for video capture source DefaultCameraCaptureSource and DefaultScreenCaptureSource call this function to set max resolution for camera and screen capture
Helper function to switch from front to back cameras or reverse. This also switches from any external cameras to the front camera.