public interface CameraVideoCapturer extends VideoCapturer
Modifier and Type | Interface and Description |
---|---|
static interface |
CameraVideoCapturer.CameraEventsHandler
Camera events handler - can be used to be notifed about camera events.
|
static class |
CameraVideoCapturer.CameraStatistics
Helper class to log framerate and detect if the camera freezes.
|
static interface |
CameraVideoCapturer.CameraSwitchHandler
Camera switch handler - one of these functions are invoked with the result of switchCamera().
|
static interface |
CameraVideoCapturer.MediaRecorderHandler
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
default void |
addMediaRecorderToCamera(android.media.MediaRecorder mediaRecorder,
CameraVideoCapturer.MediaRecorderHandler resultHandler)
Deprecated.
|
default void |
removeMediaRecorderFromCamera(CameraVideoCapturer.MediaRecorderHandler resultHandler)
Deprecated.
|
void |
switchCamera(CameraVideoCapturer.CameraSwitchHandler switchEventsHandler)
Switch camera to the next valid camera id.
|
void |
switchCamera(CameraVideoCapturer.CameraSwitchHandler switchEventsHandler,
java.lang.String cameraName)
Switch camera to the specified camera id.
|
changeCaptureFormat, dispose, initialize, isScreencast, startCapture, stopCapture
void switchCamera(CameraVideoCapturer.CameraSwitchHandler switchEventsHandler)
void switchCamera(CameraVideoCapturer.CameraSwitchHandler switchEventsHandler, java.lang.String cameraName)
@Deprecated default void addMediaRecorderToCamera(android.media.MediaRecorder mediaRecorder, CameraVideoCapturer.MediaRecorderHandler resultHandler)
@Deprecated default void removeMediaRecorderFromCamera(CameraVideoCapturer.MediaRecorderHandler resultHandler)
6.0.0