Agora Java API Reference for Android
Classes | Static Public Member Functions | List of all members
io.agora.rtc.video.VideoCaptureFactory Class Reference

Classes

class  AndroidCameraInfo
 

Static Public Member Functions

static VideoCapture createVideoCapture (int id, Context context, long nativeVideoCaptureDeviceAndroid)
 
static int getNumberOfCameras (Context appContext)
 
static String getDeviceName (int id, Context appContext)
 
static int getDeviceOrientation (int id, Context appContext)
 
static String getCapabilities (int id, Context appContext)
 
static int printCameraInfo (String cap)
 

Detailed Description

This class implements a factory of Android Video Capture object. The static createVideoCapture() returns a VideoCaptureAndroid object. Cameras are identified by |id|. VideoCaptue objects allocated via createVideoCapture() are explicitly owned by the caller.