queryCodecCapability

Queries the current device's supported video codec capabilities.

public abstract CodecCapInfo[] queryCodecCapability();

Details

Since
v4.2.0

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.