flip camera

This commit is contained in:
legop3
2025-11-22 22:29:14 -05:00
parent 56dede2679
commit 4ff6e8c6cd
5 changed files with 124 additions and 81 deletions
+4
View File
@@ -356,6 +356,10 @@ io.on('connection', (socket) => {
cb({ error: 'Spectator role required' });
return;
}
if (getMode() === MODES.LOCKDOWN) {
cb({ error: 'Spectating disabled in lockdown' });
return;
}
logger.info('Spectator subscribing to all rovers', socket.id);
for (const record of rovers.values()) {
socket.join(record.room);