queryCodecCapability

Queries the video codec capabilities of the SDK.

virtual int queryCodecCapability(CodecCapInfo* codecInfo, int& size) = 0;

Details

Since
v4.2.0

Parameters

codecInfo

Input and output parameter. An array representing the video codec capabilities of the SDK. See CodecCapInfo.

  • Input value: One CodecCapInfodefined by the user when executing this method, representing the video codec capability to be queried.
  • Output value: The CodecCapInfo after the method is executed, representing the actual video codec capabilities of the SDK.
size
Input and output parameter, represent the size of the CodecCapInfo array.
  • Input value: Size of the CodecCapInfo defined by the user when executing the method.
  • Output value: Size of the output CodecCapInfo after this method is executed.

Returns

  • 0: Success.
  • < 0: Failure.