Camera module uses c++ api