temp: camera2 compatibility