diff --git a/app/src/main/cpp/media/RTSPRecorder.cpp b/app/src/main/cpp/media/RTSPRecorder.cpp index c06d69e8..4b6f2068 100644 --- a/app/src/main/cpp/media/RTSPRecorder.cpp +++ b/app/src/main/cpp/media/RTSPRecorder.cpp @@ -234,7 +234,7 @@ void dumpRtspToMp4(const char* rtspUrl, const char* outputPath, uint32_t duratio { av_dict_set(&options, "username", userName.c_str(), 0); // Replace with actual username av_dict_set(&options, "password", password.c_str(), 0); // Replace with actual password - + char auth[512] = { 0 }; snprintf(auth, sizeof(auth), "%s:%s@", userName.c_str(), password.c_str());