修复zlm重连不在线
parent
a2cac5ca12
commit
b6df13af24
|
@ -699,6 +699,7 @@ public class MediaServerServiceImpl implements IMediaServerService {
|
||||||
ssrcFactory.initMediaServerSSRC(mediaServerItem.getId(), null);
|
ssrcFactory.initMediaServerSSRC(mediaServerItem.getId(), null);
|
||||||
String key = VideoManagerConstants.MEDIA_SERVER_PREFIX + userSetting.getServerId() + "_" + mediaServerItem.getId();
|
String key = VideoManagerConstants.MEDIA_SERVER_PREFIX + userSetting.getServerId() + "_" + mediaServerItem.getId();
|
||||||
redisTemplate.opsForValue().set(key, mediaServerItem);
|
redisTemplate.opsForValue().set(key, mediaServerItem);
|
||||||
|
resetOnlineServerItem(mediaServerItem);
|
||||||
clearRTPServer(mediaServerItem);
|
clearRTPServer(mediaServerItem);
|
||||||
}
|
}
|
||||||
final String zlmKeepaliveKey = zlmKeepaliveKeyPrefix + mediaServerItem.getId();
|
final String zlmKeepaliveKey = zlmKeepaliveKeyPrefix + mediaServerItem.getId();
|
||||||
|
|
Loading…
Reference in New Issue