feat(broadcast): add dev:broadcast:relay / :relay:stop / :relay:status to scripts/run/dev.sh for local testing of the new infra/ relay stack (mediamtx + bridges + seeded OBS) from cloud-architect agent (narrow)
This commit is contained in:
parent
fc4d85b37e
commit
469fe3caac
1 changed files with 21 additions and 0 deletions
|
|
@ -609,6 +609,24 @@ case "$COMMAND" in
|
|||
curl -sf http://localhost:8080/health && echo "" || echo "Not running"
|
||||
;;
|
||||
|
||||
dev:broadcast:relay)
|
||||
echo "Starting broadcast relay infra stack (mediamtx + video/audio bridges + seeded OBS + controller) from codebase/@features/broadcast/infra/ ..."
|
||||
(cd "$ROOT_DIR/codebase/@features/broadcast/infra" && docker compose up -d --build)
|
||||
echo " SRT ingest :8890/udp (publish:live)"
|
||||
echo " Controller :8080 (UI + /health)"
|
||||
echo " Use ./scripts/hotel-srt-push.sh --target localhost:8890 for local test"
|
||||
;;
|
||||
|
||||
dev:broadcast:relay:stop)
|
||||
(cd "$ROOT_DIR/codebase/@features/broadcast/infra" && docker compose down)
|
||||
echo "Relay stack stopped."
|
||||
;;
|
||||
|
||||
dev:broadcast:relay:status)
|
||||
(cd "$ROOT_DIR/codebase/@features/broadcast/infra" && docker compose ps)
|
||||
curl -sf http://localhost:8080/health 2>/dev/null && echo "controller healthy" || echo "controller not running"
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "Unknown dev command: $COMMAND"
|
||||
echo ""
|
||||
|
|
@ -647,6 +665,9 @@ case "$COMMAND" in
|
|||
echo " ./run dev:broadcast Start broadcast controller (LLM relay control)"
|
||||
echo " ./run dev:broadcast:stop Stop broadcast"
|
||||
echo " ./run dev:broadcast:status Health check broadcast"
|
||||
echo " ./run dev:broadcast:relay Start full relay stack locally (infra/ compose: mediamtx+bridges+obs)"
|
||||
echo " ./run dev:broadcast:relay:stop Stop relay stack"
|
||||
echo " ./run dev:broadcast:relay:status Health of relay stack"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue