Added camera preview callback.