This commit is contained in:
legop3
2025-11-18 17:11:05 -05:00
parent 4cbcdef9c2
commit bc3d216915
+1
View File
@@ -68,6 +68,7 @@ app.post('/mediamtx/auth', (req, res) => {
const path = (body.path || '').replace(/^\//, ''); const path = (body.path || '').replace(/^\//, '');
const sessionId = body.user; const sessionId = body.user;
const roverId = extractRoverId(path); const roverId = extractRoverId(path);
logger.info('video auth request', { path: body.path, sessionId, roverId });
if (!sessionId || !roverId) { if (!sessionId || !roverId) {
logger.warn('auth missing session or rover (session=%s path=%s)', sessionId, path); logger.warn('auth missing session or rover (session=%s path=%s)', sessionId, path);