queryCodecCapability
Queries the current device's supported video codec capabilities.
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 device. See CodecCapInfo.
- Input value: One CodecCapInfo defined 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 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.