优化宕机后点播中设备发送bye

This commit is contained in:
panlinlin
2021-04-22 15:28:40 +08:00
parent 118e42884e
commit ef742e715b
5 changed files with 98 additions and 3 deletions

View File

@@ -102,6 +102,7 @@ public class PlayController {
msg.setId(DeferredResultHolder.CALLBACK_CMD_STOP + uuid);
msg.setData("点播未找到");
resultHolder.invokeResult(msg);
storager.stopPlay(deviceId, channelId);
}else {
redisCatchStorage.stopPlay(streamInfo);
storager.stopPlay(streamInfo.getDeviceID(), streamInfo.getChannelId());