Fixes camera parameters, added a generic function that identifies the
possible resolutions.
Added more time to timeout.