12-18-2012 09:29 AM
I'm trying to turn on the video light using either:
returnCode = camera_config_videolight(mCameraHandle, CAMERA_VIDEOLIGHT_ON);
qDebug() << " videolight code: " << returnCode;
returnCode = camera_config_focus_assist(mCameraHandle, true);
qDebug() << " CAMERA_FEATURE_FOCUSASSIST code: " << returnCode;
The video light call returns 5 and the focus assist call returns 0, but in both cases no light comes on. Other features like setting the focus and zoom are working fine though. Is there a trick to getting the camera light to work and are the error code values documented anywhere?
Some bugs I also came across were:
1) Both these error codes seem to have value 16
Debug: CAMERA_EALREADY: 16
Debug: CAMERA_EBUSY: 16
2) camera_get_videolight_level(mCameraHandle, &percent); always returns 100 percent.
(Gold NDK, OS OS 10.0.9.1103, Dev Alpha A)
12-19-2012 03:22 PM
To Add more.. the bug only happens after you attach a view finder to the camera. Also the OS version should be the latest as of Dec. 18th, but it has been reporting weird numbers like 10.0.9.156 as well in some spots at some times. The alert after the update did say the correct 10.0.9.1675 though.