startCameraCapture
Starts camera capture.
public abstract int startCameraCapture( Constants.VideoSourceType sourceType, CameraCapturerConfiguration config);
Details
- Since
- v4.2.0
You can call this method to start capturing video from one or more cameras by specifying sourceType.
Parameters
- sourceType
-
The type of the video source. See VideoSourceType.
Note:- On the mobile platforms, you can capture video from up to 2 cameras, provided the device has dual cameras or supports an external camera.
- config
-
The configuration of the video capture. See CameraCapturerConfiguration.
Returns
- 0: Success.
- < 0: Failure.