Implement LiveKit calls

This commit is contained in:
2026-04-22 23:19:38 +03:00
Unverified
parent b7d884df58
commit 66a1060685
16 changed files with 465 additions and 27 deletions
+17
View File
@@ -0,0 +1,17 @@
#!/usr/bin/env bash
# Start LiveKit with deployment/livekit.dev.yaml (after ensure.py).
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
ROOT="$(cd "$SCRIPT_DIR/.." && pwd)"
cd "$ROOT"
BIN="$(python3 "$ROOT/scripts/livekit/ensure.py" | tail -1)"
CONFIG="$ROOT/deployment/livekit.dev.yaml"
if [[ ! -f "$CONFIG" ]]; then
echo "Missing $CONFIG" >&2
exit 1
fi
echo "Starting LiveKit: $BIN --config $CONFIG" >&2
exec "$BIN" --config "$CONFIG"