public class CameraCapturerCompat extends Object implements com.twilio.video.VideoCapturer
Modifier and Type | Class and Description |
---|---|
static class |
CameraCapturerCompat.Source |
Constructor and Description |
---|
CameraCapturerCompat(android.content.Context context,
CameraCapturerCompat.Source cameraSource) |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
CameraCapturerCompat.Source |
getCameraSource() |
void |
initialize(tvi.webrtc.SurfaceTextureHelper surfaceTextureHelper,
android.content.Context context,
tvi.webrtc.CapturerObserver capturerObserver) |
boolean |
isScreencast() |
void |
startCapture(int width,
int height,
int framerate) |
void |
stopCapture() |
void |
switchCamera() |
public CameraCapturerCompat(android.content.Context context, CameraCapturerCompat.Source cameraSource)
public CameraCapturerCompat.Source getCameraSource()
public void initialize(tvi.webrtc.SurfaceTextureHelper surfaceTextureHelper, android.content.Context context, tvi.webrtc.CapturerObserver capturerObserver)
initialize
in interface tvi.webrtc.VideoCapturer
public void startCapture(int width, int height, int framerate)
startCapture
in interface tvi.webrtc.VideoCapturer
public void stopCapture() throws InterruptedException
stopCapture
in interface tvi.webrtc.VideoCapturer
InterruptedException
public boolean isScreencast()
isScreencast
in interface tvi.webrtc.VideoCapturer
public void dispose()
dispose
in interface tvi.webrtc.VideoCapturer
public void switchCamera()