修复 流已经关闭后,再次调用关闭流的接口,返回超时
This commit is contained in:
@@ -44,5 +44,6 @@ public class VideoStreamSessionManager {
|
||||
sessionMap.remove(deviceId + "_" + channelId);
|
||||
SsrcUtil.releaseSsrc(ssrcMap.get(deviceId + "_" + channelId));
|
||||
ssrcMap.remove(deviceId + "_" + channelId);
|
||||
streamIdMap.remove(deviceId + "_" + channelId);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -581,8 +581,9 @@ public class SIPCommander implements ISIPCommander {
|
||||
if (transaction == null) {
|
||||
StreamInfo streamInfo = redisCatchStorage.queryPlayByDevice(deviceId, channelId);
|
||||
if (streamInfo != null) {
|
||||
|
||||
redisCatchStorage.stopPlay(streamInfo);
|
||||
}
|
||||
okEvent.response(null);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user