queryCodecCapability

Queries the video codec capabilities of the SDK.

Future<List<CodecCapInfo>> queryCodecCapability(int size);

Details

Parameters

size
The size of CodecCapInfo.

Returns

  • One CodecCapInfo array indicating the video encoding capability of the device, if the method call succeeds.
  • If the call timeouts, please modify the call logic and do not invoke the method in the main thread.