mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-05-25 06:27:50 +08:00
Merge pull request #1489 from Duktig-Jay/bug_fix-录像下载失败未正常释放ssrc
[bugfix]录像下载失败未正常释放ssrc
This commit is contained in:
commit
8377d4a1c7
@ -1003,6 +1003,7 @@ public class PlayServiceImpl implements IPlayService {
|
|||||||
dynamicTask.stop(downLoadTimeOutTaskKey);
|
dynamicTask.stop(downLoadTimeOutTaskKey);
|
||||||
callback.run(InviteErrorCode.ERROR_FOR_SIGNALLING_TIMEOUT.getCode(),
|
callback.run(InviteErrorCode.ERROR_FOR_SIGNALLING_TIMEOUT.getCode(),
|
||||||
String.format("录像下载失败, 错误码: %s, %s", event.statusCode, event.msg), null);
|
String.format("录像下载失败, 错误码: %s, %s", event.statusCode, event.msg), null);
|
||||||
|
mediaServerService.releaseSsrc(mediaServerItem.getId(), ssrcInfo.getSsrc());
|
||||||
streamSession.remove(device.getDeviceId(), channelId, ssrcInfo.getStream());
|
streamSession.remove(device.getDeviceId(), channelId, ssrcInfo.getStream());
|
||||||
inviteStreamService.removeInviteInfo(inviteInfo);
|
inviteStreamService.removeInviteInfo(inviteInfo);
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user