queryCodecCapability
Queries the video codec capabilities of the SDK.
abstract queryCodecCapability(): { codecInfo: CodecCapInfo[]; size: number };
Details
Returns
- If the call is successful, an object containing the following attributes is returned:
codecInfo
: The CodecCapInfo array, indicating the video codec capabillity of the device.size
: The size of the CodecCapInfo array.
- If the call timeouts, please modify the call logic and do not invoke the method in the main thread.