Skip to content

Commit e44a1d7

Browse files
Apply auth_hash to restream url instead of rtsp url. Error detection credit goes to Claude
1 parent 94a33b2 commit e44a1d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/zm_monitor_go2rtc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Monitor::Go2RTCManager::Go2RTCManager(Monitor *parent_)
5151
if (parent->janus_rtsp_user) {
5252
User *rtsp_user = User::find(parent->janus_rtsp_user);
5353
std::string auth_key = rtsp_user->getAuthHash();
54-
rtsp_path += "?auth=" + auth_key;
54+
rtsp_restream_path += "?auth=" + auth_key;
5555
} else {
5656
Warning("No user selected for RTSP_Server authentication!");
5757
}

0 commit comments

Comments
 (0)