public static interface CameraCapturer.Listener
CameraCapturer
.Modifier and Type | Method and Description |
---|---|
void |
onCameraSwitched(java.lang.String newCameraId)
Notifies when a camera switch is complete.
|
void |
onError(int errorCode)
Reports an error that occurred in
CameraCapturer . |
void |
onFirstFrameAvailable()
Indicates when the first frame has been captured from the camera.
|
void onFirstFrameAvailable()
void onCameraSwitched(@NonNull java.lang.String newCameraId)
newCameraId
- the camera ID after camera switch is complete.void onError(int errorCode)
CameraCapturer
.errorCode
- the code that describes the error that occurred.6.0.0