mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-05-22 21:37:48 +08:00
fix: 当wvp作为下级平台时,上级以tcp-主动模式发起点播请求,这个5ms时间太短,下级的zlm刚准备好端口,上级还没来得及连接,zlm就超时端口关闭,导致上级一直报拒绝连接
This commit is contained in:
parent
c1672728d3
commit
c543840830
@ -215,7 +215,7 @@ public class InviteRequestProcessor extends SIPRequestProcessorParent implements
|
|||||||
if (sendRtpItem.isTcpActive()) {
|
if (sendRtpItem.isTcpActive()) {
|
||||||
MediaServer mediaServer = mediaServerService.getOne(sendRtpItem.getMediaServerId());
|
MediaServer mediaServer = mediaServerService.getOne(sendRtpItem.getMediaServerId());
|
||||||
try {
|
try {
|
||||||
mediaServerService.startSendRtpPassive(mediaServer, sendRtpItem, 5);
|
mediaServerService.startSendRtpPassive(mediaServer, sendRtpItem, 5*1000);
|
||||||
DeviceChannel deviceChannel = deviceChannelService.getOneForSourceById(sendRtpItem.getChannelId());
|
DeviceChannel deviceChannel = deviceChannelService.getOneForSourceById(sendRtpItem.getChannelId());
|
||||||
if (deviceChannel != null) {
|
if (deviceChannel != null) {
|
||||||
redisCatchStorage.sendPlatformStartPlayMsg(sendRtpItem, deviceChannel, platform);
|
redisCatchStorage.sendPlatformStartPlayMsg(sendRtpItem, deviceChannel, platform);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user