make ICE recover on failure, resolve keyboard not responding to some users, handle blank screen caused by STATUS_STACK_BUFFER_OVERRUN with a watchdog implementation
This commit is contained in:
@@ -113,7 +113,10 @@ socat TCP-LISTEN:12345,reuseaddr,fork \
|
||||
EXEC:"pacat --playback --device=mic_sink --format=s16le --rate=48000 --channels=1 --latency-msec=20" &
|
||||
echo "socat mic listener started on TCP :12345"
|
||||
|
||||
# ── Start streaming agent ─────────────────────────────────────────────────────
|
||||
# ── Start streaming agent (with auto-restart) ─────────────────────────────────
|
||||
# gst_agent exits with code 1 on ICE failure or other fatal errors.
|
||||
# Without a restart loop, the container sits dead until manually restarted.
|
||||
# 3 second delay before each restart to avoid a tight crash loop.
|
||||
while true; do
|
||||
python3 ~/streaming-agent/gst_agent.py
|
||||
echo "[gst_agent] exited with code $?, restarting in 3s..."
|
||||
|
||||
Reference in New Issue
Block a user