feat: sync group call livestream support
This commit is contained in:
parent
56d995474c
commit
f1a27996d3
37 changed files with 2219 additions and 83 deletions
10
deploy/migrations/0053_group_call_rtmp.up.sql
Normal file
10
deploy/migrations/0053_group_call_rtmp.up.sql
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
-- Live Stream(RTMP 直播):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
|
||||
);
|
||||
Loading…
Add table
Add a link
Reference in a new issue