I have several OptiTrack cameras model C:120. I need to obtain the Frame Rate that currently has the camera. In order to obtain this value, I use the function GetOption with the parameter NP_OPTION_FRAME_RATE. The result of the function GetOption is NP_E_DEVICE_NOT_SUPPORTED instead of S_OK.
Code: Select all
CComVariant ComVarOption;
HRESULT hResult = camera->GetOption(NP_OPTION_FRAME_RATE, &ComVarOption);
What I am doing wrong?
Thanks.