commit
3e1f31dab4
|
@ -235,6 +235,12 @@ public class ZLMMediaServerStatusManger {
|
||||||
if (mediaServerItem.getRtpProxyPort() == 0) {
|
if (mediaServerItem.getRtpProxyPort() == 0) {
|
||||||
mediaServerItem.setRtpProxyPort(zlmServerConfig.getRtpProxyPort());
|
mediaServerItem.setRtpProxyPort(zlmServerConfig.getRtpProxyPort());
|
||||||
}
|
}
|
||||||
|
if (mediaServerItem.getFlvSSLPort() == 0) {
|
||||||
|
mediaServerItem.setFlvSSLPort(zlmServerConfig.getHttpSSLport());
|
||||||
|
}
|
||||||
|
if (mediaServerItem.getWsFlvSSLPort() == 0) {
|
||||||
|
mediaServerItem.setWsFlvSSLPort(zlmServerConfig.getHttpSSLport());
|
||||||
|
}
|
||||||
mediaServerItem.setHookAliveInterval(10F);
|
mediaServerItem.setHookAliveInterval(10F);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -396,7 +396,7 @@ public class DeviceServiceImpl implements IDeviceService {
|
||||||
|
|
||||||
String now = DateUtil.getNow();
|
String now = DateUtil.getNow();
|
||||||
device.setUpdateTime(now);
|
device.setUpdateTime(now);
|
||||||
device.setCharset(device.getCharset().toUpperCase());
|
device.setCharset(device.getCharset() == null ? "" : device.getCharset().toUpperCase());
|
||||||
device.setUpdateTime(DateUtil.getNow());
|
device.setUpdateTime(DateUtil.getNow());
|
||||||
if (deviceMapper.update(device) > 0) {
|
if (deviceMapper.update(device) > 0) {
|
||||||
redisCatchStorage.updateDevice(device);
|
redisCatchStorage.updateDevice(device);
|
||||||
|
|
Loading…
Reference in New Issue