feat: point the fleet at wss LiveKit room uwh-telhai
Publish and subscribe over wss://livekit.uni-wh.de:7800 and refuse cleartext ws://. Conference room is uwh-telhai. Includes the uncommitted encoded H.264 publish path, Rally hairpin, and KMS wall overlay.
This commit is contained in:
@@ -13,6 +13,8 @@ import re
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
from usb_ids import is_fleet_video, is_rally_pid, usb_vid_pid_from_sysfs
|
||||
|
||||
HEADER = """\
|
||||
# Stable slots for 20x Logitech HD Pro Webcam C920 (046d:08e5).
|
||||
# Slot = physical camera, identified by USB serial. Survives reboots,
|
||||
@@ -67,6 +69,11 @@ def current_state():
|
||||
if idx_attr != "0":
|
||||
continue
|
||||
real = sh(["readlink", "-f", str(node / "device")]).strip()
|
||||
ids = usb_vid_pid_from_sysfs(real)
|
||||
if ids is not None and not is_fleet_video(ids[0], ids[1]):
|
||||
continue
|
||||
if ids is not None and is_rally_pid(ids[1]):
|
||||
continue
|
||||
s = _serial_of(real)
|
||||
primary_by_serial[s] = f"/dev/{node.name}"
|
||||
return primary_by_serial, cards
|
||||
|
||||
Reference in New Issue
Block a user