Package tvi.webrtc
Class Camera1Enumerator
java.lang.Object
tvi.webrtc.Camera1Enumerator
- All Implemented Interfaces:
CameraEnumerator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateCapturer
(String deviceName, CameraVideoCapturer.CameraEventsHandler eventsHandler) String[]
getSupportedFormats
(String deviceName) boolean
isBackFacing
(String deviceName) boolean
isFrontFacing
(String deviceName)
-
Constructor Details
-
Camera1Enumerator
public Camera1Enumerator() -
Camera1Enumerator
public Camera1Enumerator(boolean captureToTexture)
-
-
Method Details
-
getDeviceNames
- Specified by:
getDeviceNames
in interfaceCameraEnumerator
-
isFrontFacing
- Specified by:
isFrontFacing
in interfaceCameraEnumerator
-
isBackFacing
- Specified by:
isBackFacing
in interfaceCameraEnumerator
-
getSupportedFormats
- Specified by:
getSupportedFormats
in interfaceCameraEnumerator
-
createCapturer
public CameraVideoCapturer createCapturer(String deviceName, CameraVideoCapturer.CameraEventsHandler eventsHandler) - Specified by:
createCapturer
in interfaceCameraEnumerator
-