fix camera crash after stopping video record, rename wrapper