QueryCodecCapability

Queries the current device's supported video codec capabilities.

public abstract int QueryCodecCapability(ref CodecCapInfo[] codecInfo, ref int size);

Details

Parameters

codecInfo

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

  • Input value: One CodecCapInfodefined by the user when executing this method, representing the video codec capability to be queried.
  • Output value: The CodecCapInfoafter the method is executed, representing the actual video codec capabilities supported by the device.
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.