This commit is contained in:
legop3
2026-03-15 23:05:30 -04:00
parent a2098f4dfc
commit 169ccdbcf8
+3 -1
View File
@@ -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();
}