Commit 5e00a925 by guoxuejian Committed by gdj

feat: add live session debounce prefixes and time windows for improved stream stability

parent e2718944
......@@ -75,6 +75,18 @@ public final class RedisConst {
/** 直播观看者心跳 TTL(秒),心跳间隔建议为 10s,TTL 设为 30s */
public static final Integer LIVE_SESSION_TTL_SECOND = 30;
/** 直播重启防抖前缀,完整 key = live_restart_debounce:{videoIdStr} */
public static final String LIVE_RESTART_DEBOUNCE_PREFIX = "live_restart_debounce" + DELIMITER;
/** 直播重启防抖窗口(秒) */
public static final Integer LIVE_RESTART_DEBOUNCE_SECOND = 10;
/** 直播刷新防抖前缀,完整 key = live_refresh_debounce:{videoIdStr} */
public static final String LIVE_REFRESH_DEBOUNCE_PREFIX = "live_refresh_debounce" + DELIMITER;
/** 直播刷新防抖窗口(秒) */
public static final Integer LIVE_REFRESH_DEBOUNCE_SECOND = 5;
public static final String DEVICE_DETAIL_PREFIX = "device_detail" + DELIMITER;
/**
* 飞行总架次 total_flight_sorties
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment