CameraDemo Throws Exception calling captureOutput

iOS 10.2 - iPhone 6S+


After pressing the Take Photo and then the camera button, the Wait Symbol rotates. After 2-3 seconds an Exception comes. Obviously the 5th Parameter from captureOutput is not correct

Stack Trace


System._DbgExcNotify(int, void*, System.SmallString<(unsigned char)255>*, void*, void*)(1,0x0000000174aa9180,0x00000001000d4f64,0x000000016fd42700,0x0000000174aa9180)
System.NotifyReRaise(System.TObject*, void*)(0x0000000174aa9180,0x00000001000db290)
System._RaiseAtExcept(System.TObject*, void*)(0x0000000174aa9180,0x00000001000db290)
:00000001000F700C System::Internal::Excutils::SignalConverter(unsigned long, unsigned long, unsigned long)
System._IntfAddRef(System.DelphiInterface<System.IInterface>)(0x00000001702030e0)
Fmx.Tmsnativecameraviewcontroller.TTMSFMXNativeCustomCameraViewControllerPhotoCaptureDelegate.captureOutput(System.DelphiInterface<Fmx.Tmsnativeuicore.AVCapturePhotoOutput>, System.DelphiInterface<Iosapi.Foundation.NSURL>, Fmx.Tmsnativeuicore.CMTime, Fmx.Tmsnativeuicore.CMTime, System.DelphiInterface<Fmx.Tmsnativeuicore.AVCaptureResolvedPhotoSettings>, void*)(0x000000027117bc70,0x0000000174aa8d20,0x0000000174aa9020,{value = 6171142640, timescale = 1957335072, flags = 1, epoch = 6252301600},{value = 6171142608, timescale = 1876175344, flags = 1, epoch = 6252302368},0x00000001702030e0,0x0000000000000000)
:0000000100964A40 DispatchToDelphi


Hi, 


We have investigate this here and have applied a fix for this issue, the next version will address this.