From 238f0aeb4fc7c9a40c39fcf6c33e739c061bfc0b Mon Sep 17 00:00:00 2001 From: Matthew Date: Wed, 19 Mar 2025 16:13:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/cpp/media/RTSPRecorder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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());