webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
Classes | |
interface | CameraEventsHandler |
class | CameraStatistics |
interface | CameraSwitchHandler |
Public Member Functions | |
void | switchCamera (CameraSwitchHandler switchEventsHandler) |
Public Member Functions inherited from org.webrtc.VideoCapturer | |
void | initialize (SurfaceTextureHelper surfaceTextureHelper, Context applicationContext, CapturerObserver capturerObserver) |
void | startCapture (int width, int height, int framerate) |
void | stopCapture () throws InterruptedException |
void | changeCaptureFormat (int width, int height, int framerate) |
void | dispose () |
boolean | isScreencast () |
Base interface for camera1 and camera2 implementations. Extends VideoCapturer with a switchCamera() function. Also provides subinterfaces for handling camera events, and a helper class for detecting camera freezes.
void org.webrtc.CameraVideoCapturer.switchCamera | ( | CameraSwitchHandler | switchEventsHandler | ) |
Switch camera to the next valid camera id. This can only be called while the camera is running. This function can be called from any thread.
Implemented in org.webrtc.VideoCapturerAndroid.