Package tvi.webrtc
Class Camera1Enumerator
- java.lang.Object
-
- tvi.webrtc.Camera1Enumerator
-
- All Implemented Interfaces:
CameraEnumerator
public class Camera1Enumerator extends java.lang.Object implements CameraEnumerator
-
-
Constructor Summary
Constructors Constructor Description Camera1Enumerator()
Camera1Enumerator(boolean captureToTexture)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CameraVideoCapturer
createCapturer(java.lang.String deviceName, CameraVideoCapturer.CameraEventsHandler eventsHandler)
java.lang.String[]
getDeviceNames()
java.util.List<CameraEnumerationAndroid.CaptureFormat>
getSupportedFormats(java.lang.String deviceName)
boolean
isBackFacing(java.lang.String deviceName)
boolean
isFrontFacing(java.lang.String deviceName)
-
-
-
Method Detail
-
getDeviceNames
public java.lang.String[] getDeviceNames()
- Specified by:
getDeviceNames
in interfaceCameraEnumerator
-
isFrontFacing
public boolean isFrontFacing(java.lang.String deviceName)
- Specified by:
isFrontFacing
in interfaceCameraEnumerator
-
isBackFacing
public boolean isBackFacing(java.lang.String deviceName)
- Specified by:
isBackFacing
in interfaceCameraEnumerator
-
getSupportedFormats
public java.util.List<CameraEnumerationAndroid.CaptureFormat> getSupportedFormats(java.lang.String deviceName)
- Specified by:
getSupportedFormats
in interfaceCameraEnumerator
-
createCapturer
public CameraVideoCapturer createCapturer(java.lang.String deviceName, CameraVideoCapturer.CameraEventsHandler eventsHandler)
- Specified by:
createCapturer
in interfaceCameraEnumerator
-
-