延长直播在线人数检测时间
This commit is contained in:
@@ -30,7 +30,7 @@ public class LiveStreamManagerImpl implements ILiveStreamManager {
|
||||
// 循环上报摄像头可直播状态间隔时间
|
||||
private static final int PUSH_CAM_TIME = 10 * 1000;
|
||||
// 检测房间在线人数,<=1代表无人观看,即可以关闭推流,1个人代表自己
|
||||
private static final int PUSH_CHECK_TIME = 60 * 1000;
|
||||
private static final int PUSH_CHECK_TIME = 120 * 1000;
|
||||
private static volatile int sCam1LiveStatus = 0, sCam2LiveStatus = 0;
|
||||
private static volatile int sCam1AvailableStatus = 0, sCam2AvailableStatus = 0;
|
||||
private static final int PUSH_START = 0; // 开始
|
||||
|
||||
Reference in New Issue
Block a user