Vuforia SDK Version: vuforia-sdk-ios-5-0-5 -
Description with steps to reproduce:
Run any Vuforia sample and you'll see: *** -[AVCaptureVideoDataOutput setVideoSettings:] - videoSettings dictionary contains one or more unsupported (ignored) keys: (
I think the code you're trying to use to set the capture session camera preset (camera resolution) is not doing what you think it's doing. No matter which camera device mode I use, the size of the camera image is always the same on a given device. Using any of these:
class QCAR_API CameraDevice : private NonCopyable
MODE_DEFAULT = -1, ///< Default camera mode
MODE_OPTIMIZE_SPEED = -2, ///< Fast camera mode
MODE_OPTIMIZE_QUALITY = -3, ///< High-quality camera mode
always results in the same camera resolution being used. I'm on an iPhone 6 using iOS 9. I've noticed the same behavior on iOS 8.
You might be looking for AVVideoWidthKey for use in that dictionary, which translates to @"AVVideoWidthKey" and not @"Width". Perhaps you've hard-coded @"Width" instead of using the AVVideoWidthKey constant? In any case, iOS is ignoring your attempts to change the video resolution.
Development OS (Mac OS X, Windows, Linux): Mac OS X -
Mobile OS and Version: iOS 9 -
Mobile Device Manufacturer and Model name: Apple iPhone 6 -
Do the Vuforia Sample Applications show the same behavior?: Yes