修改设备离线逻辑 收不到心跳包时 不要乱踢进行中的视频流
This commit is contained in:
parent
ec2a33d52c
commit
aeeca07a79
@ -215,8 +215,8 @@ public class DeviceServiceImpl implements IDeviceService {
|
||||
if (ssrcTransactions != null && ssrcTransactions.size() > 0) {
|
||||
for (SsrcTransaction ssrcTransaction : ssrcTransactions) {
|
||||
mediaServerService.releaseSsrc(ssrcTransaction.getMediaServerId(), ssrcTransaction.getSsrc());
|
||||
mediaServerService.closeRTPServer(ssrcTransaction.getMediaServerId(), ssrcTransaction.getStream());
|
||||
streamSession.remove(deviceId, ssrcTransaction.getChannelId(), ssrcTransaction.getStream());
|
||||
// mediaServerService.closeRTPServer(ssrcTransaction.getMediaServerId(), ssrcTransaction.getStream());
|
||||
// streamSession.remove(deviceId, ssrcTransaction.getChannelId(), ssrcTransaction.getStream());
|
||||
}
|
||||
}
|
||||
// 移除订阅
|
||||
|
Loading…
Reference in New Issue
Block a user