Agora Java API Reference for Android
|
Classes | |
class | Capability |
Static Public Member Functions | |
static boolean | checkPermission () |
static Capability | createCapability (int id, int facing, Camera.Parameters param) |
static synchronized List< Capability > | getCameraCapability () |
Created by liwei on 6/9/15.
|
static |
Creates a capability object from the camera parameters. If the parameters do not contain the preview resolution and fps information, it will throw an exception.
id | camera id |
param | camera parameters |
|
static |
get camera device's preview capability from system. Caution: call this function may take a long time to complete on some device. Call this function before VideoCaptureAndroid is created. If channal is joined and camera is already opened, it will throw a RuntimeException. There is not camera device on some platform like top set box, it will also throw a RuntimeException.