feat: sync group call livestream support

This commit is contained in:
A 2026-07-06 14:31:19 +08:00
parent 56d995474c
commit f1a27996d3
37 changed files with 2219 additions and 83 deletions

View file

@ -0,0 +1,10 @@
-- Live StreamRTMP 直播group_calls 增加 rtmp_stream 标记;
-- per-channel 持久 RTMP 推流密钥revoke 轮换后旧 key 立即失效)。
ALTER TABLE group_calls
ADD COLUMN IF NOT EXISTS rtmp_stream boolean DEFAULT false NOT NULL;
CREATE TABLE IF NOT EXISTS group_call_rtmp_keys (
channel_id bigint PRIMARY KEY,
stream_key text NOT NULL,
updated_at integer NOT NULL
);