c# - PhotoCatureDevice.SetCaptureResolutionAsync crashing on Lumia 1020 while working 820 -


there 3 lines of code work fine on 820, crash on lumia 1020:

var captureresolutions = photocapturedevice.getavailablecaptureresolutions(camerasensorlocation.back); var captureresolution = captureresolutions.first(); await _cameraeffect.photocapturedevice.setcaptureresolutionasync(captureresolution); 

as can see, first avilable resolutions, select first 1 (which is, @ least using debugger, hightest possible resoltion exposed on photocapturedevice default, both on 820 , 1020, , set capture resoltion.

as said, works fine on 820, on 1020, crashes without error message - though, of course, have attatched debugger! doesn't trigger breakpoints after line.

when leave out last line , capture without changing reolution, works fine, has 640x480 resolution (and that's of, course, far low)


Comments

Popular posts from this blog

PHPMotion implementation - URL based videos (Hosted on separate location) -

javascript - Using Windows Media Player as video fallback for video tag -

c# - Unity IoC Lifetime per HttpRequest for UserStore -