webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Public Member Functions | List of all members
org.webrtc.CameraVideoCapturer Interface Reference
Inheritance diagram for org.webrtc.CameraVideoCapturer:
org.webrtc.VideoCapturer org.webrtc.VideoCapturerAndroid

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 ()
 

Detailed Description

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.

Member Function Documentation

◆ switchCamera()

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.


The documentation for this interface was generated from the following file: