From 169ccdbcf8e257945328de624ff0e6bd03727529 Mon Sep 17 00:00:00 2001 From: legop3 Date: Sun, 15 Mar 2026 23:05:30 -0400 Subject: [PATCH] guh --- server/src/services/videoAuthService.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/server/src/services/videoAuthService.js b/server/src/services/videoAuthService.js index d1e9abd2..286cbf39 100644 --- a/server/src/services/videoAuthService.js +++ b/server/src/services/videoAuthService.js @@ -122,8 +122,10 @@ app.post('/mediamtx/auth', (req, res) => { }); } + const isSrtLikeProtocol = protocol === 'srt' || protocol === 'srtconn' || protocol.startsWith('srt'); + const isForwardAudioRead = action === 'read' && streamInfo?.id?.endsWith('-fwd'); // Rover forward-listener uses SRT read without session tokens; allow these reads. - if (action === 'read' && protocol === 'srt') { + if ((action === 'read' && isSrtLikeProtocol) || isForwardAudioRead) { return res.status(200).end(); }