修复流注销想上级发送bye后未清理缓存的问题

This commit is contained in:
648540858 2023-04-19 14:53:06 +08:00
parent db2ccfedfa
commit f68f6d20e0
2 changed files with 2 additions and 0 deletions

View File

@ -403,6 +403,7 @@ public class ZLMHttpHookListener {
try {
if (platform != null) {
commanderFroPlatform.streamByeCmd(platform, sendRtpItem);
redisCatchStorage.deleteSendRTPServer(platformId, sendRtpItem.getChannelId(), sendRtpItem.getCallId(), sendRtpItem.getStreamId());
} else {
cmder.streamByeCmd(device, sendRtpItem.getChannelId(), param.getStream(), sendRtpItem.getCallId());
}

View File

@ -742,4 +742,5 @@ public class MediaServerServiceImpl implements IMediaServerService {
result.setGbSend(redisCatchStorage.getGbSendCount(mediaServerItem.getId()));
return result;
}
}