revert c4c272, add public interface for camera