还原兼容ssrc为0的情况

2.6.8
648540858 2024-03-15 10:18:28 +08:00
parent 2ce50bdd0a
commit 7ab803ce93
1 changed files with 0 additions and 9 deletions

View File

@ -17,7 +17,6 @@ import com.genersoft.iot.vmp.gb28181.transmit.callback.DeferredResultHolder;
import com.genersoft.iot.vmp.gb28181.transmit.callback.RequestMessage;
import com.genersoft.iot.vmp.gb28181.transmit.cmd.impl.SIPCommander;
import com.genersoft.iot.vmp.gb28181.transmit.cmd.impl.SIPCommanderFroPlatform;
import com.genersoft.iot.vmp.gb28181.utils.NumericUtil;
import com.genersoft.iot.vmp.media.zlm.AssistRESTfulUtils;
import com.genersoft.iot.vmp.media.zlm.ZLMRESTfulUtils;
import com.genersoft.iot.vmp.media.zlm.ZlmHttpHookSubscribe;
@ -584,14 +583,6 @@ public class PlayServiceImpl implements IPlayService {
if (ssrcInfo.getSsrc().equals(ssrcInResponse)) {
return;
}
if (ObjectUtils.isEmpty(ssrcInResponse)) {
logger.warn("[回放消息] 收到invite 200, 发现下级自定义了ssrc为空按照上级ssrc处理");
return;
}
if (NumericUtil.isInteger(ssrcInResponse) && Integer.parseInt(ssrcInResponse) == 0) {
logger.warn("[回放消息] 收到invite 200, 发现下级自定义了ssrc为0按照上级ssrc处理");
return;
}
logger.info("[回放消息] 收到invite 200, 发现下级自定义了ssrc: {}", ssrcInResponse);
if (!mediaServerItem.isRtpEnable() || device.isSsrcCheck()) {
logger.info("[回放消息] SSRC修正 {}->{}", ssrcInfo.getSsrc(), ssrcInResponse);