windows phone 8 - How to change the resolution of camera while recording video in WP8 -


i using video recording sample provided microsoft here. want change resolution of video being recorded in app. recording in highest resolution default. how so?

videocapturedevice.desiredformat = new videoformat(pixelformattype.unknown, 480, 640, 30); 

the above statement throwing argument exception.

also, if possible let me know how capture front camera?

how achieve this? please help.

second parameter audiovideocapturedevice.openasync resolution. , can resolutions using audiovideocapturedevice.getavailablecaptureresolutions(sensor).


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -