延长直播在线人数检测时间

This commit is contained in:
董宏宇
2021-11-05 10:43:52 +08:00
parent 897d95a4da
commit f948cd4a9b
3 changed files with 11 additions and 28 deletions

View File

@@ -1,17 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="deploymentTargetDropDown">
<runningDeviceTargetSelectedWithDropDown>
<Target>
<type value="RUNNING_DEVICE_TARGET" />
<deviceKey>
<Key>
<type value="SERIAL_NUMBER" />
<value value="JAM6R20C10001418" />
</Key>
</deviceKey>
</Target>
</runningDeviceTargetSelectedWithDropDown>
<timeTargetWasSelectedWithDropDown value="2021-11-04T14:09:00.912888Z" />
</component>
</project>

View File

@@ -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; // 开始

View File

@@ -36,22 +36,22 @@ PASSWORD=xintai2018
RELEASE=true
# AI CLOUD 云平台
# 工具类
MOGO_UTILS_VERSION=1.1.53-live
MOGO_UTILS_VERSION=1.1.54-live
# 网络请求
MOGO_NETWORK_VERSION=1.1.53-live
MOGO_NETWORK_VERSION=1.1.54-live
# 网络DNS
MOGO_HTTPDNS_VERSION=1.1.53-live
MOGO_HTTPDNS_VERSION=1.1.54-live
# 鉴权
MOGO_PASSPORT_VERSION=1.1.53-live
MOGO_PASSPORT_VERSION=1.1.54-live
# 常链接
MOGO_SOCKET_VERSION=1.1.53-live
MOGO_SOCKET_VERSION=1.1.54-live
# 数据采集
MOGO_REALTIME_VERSION=1.1.53-live
MOGO_REALTIME_VERSION=1.1.54-live
# 探路,道路事件发布,获取
MOGO_TANLU_VERSION=1.1.53-live
MOGO_TANLU_VERSION=1.1.54-live
# 直播推流
MOGO_LIVE_VERSION=1.1.53-live
MOGO_LIVE_VERSION=1.1.54-live
# 直播拉流
MOGO_TRAFFICLIVE_VERSION=1.1.53-live
MOGO_TRAFFICLIVE_VERSION=1.1.54-live
# 定位服务
MOGO_LOCATION_VERSION=1.1.53-live
MOGO_LOCATION_VERSION=1.1.54-live