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.
27 lines
877 B
Desktop File
27 lines
877 B
Desktop File
[Unit]
|
|
Description=Publish C920 cameras (speechbrain audio) to LiveKit
|
|
Documentation=file:///home/fdenkena/livekit-cameras/README.md
|
|
After=network-online.target sound.target
|
|
Wants=network-online.target
|
|
# Local livekit-server is disabled; publishers use LIVEKIT_URL in .env.
|
|
|
|
[Service]
|
|
Type=simple
|
|
WorkingDirectory=/home/fdenkena/livekit-cameras
|
|
EnvironmentFile=-/home/fdenkena/livekit-cameras/.env
|
|
Environment=PYTHONUNBUFFERED=1
|
|
Environment=ENHANCE_MODE=force
|
|
ExecStartPre=/home/fdenkena/livekit-cameras/deploy/wait-for-cameras.sh
|
|
ExecStartPre=/home/fdenkena/livekit-cameras/deploy/wait-for-livekit.sh
|
|
ExecStart=/home/fdenkena/livekit-cameras/.venv/bin/python /home/fdenkena/livekit-cameras/run.py
|
|
ExecStop=/bin/kill -TERM $MAINPID
|
|
Restart=always
|
|
RestartSec=5
|
|
TimeoutStartSec=90
|
|
TimeoutStopSec=30
|
|
KillMode=control-group
|
|
KillSignal=SIGTERM
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|