option for using camera callback rather than sleeping based on framerate