feat: add MediaMTX process and reconciliation control (#25)

This commit is contained in:
QiuSW
2026-08-12 17:21:14 +08:00
parent 4f17cca91f
commit 398534aabe
18 changed files with 765 additions and 0 deletions
@@ -0,0 +1,2 @@
CREATE TABLE IF NOT EXISTS sense_media_routes(id TEXT PRIMARY KEY,device_id TEXT NOT NULL,profile_token TEXT NOT NULL,path TEXT NOT NULL UNIQUE,desired TEXT NOT NULL,actual TEXT NOT NULL,readers INTEGER NOT NULL DEFAULT 0,detail TEXT NOT NULL DEFAULT '',version BIGINT NOT NULL,updated_at TIMESTAMPTZ NOT NULL);