add auto config cam resolution