调整国标通道判断逻辑
parent
ec1e269616
commit
55001e42d6
|
@ -101,7 +101,7 @@ public class InfoRequestProcessor extends SIPRequestProcessorParent implements I
|
|||
return;
|
||||
}
|
||||
// 判断通道类型
|
||||
if (channel.getGbDeviceId() == null) {
|
||||
if (channel.getGbDeviceDbId() == null) {
|
||||
// 非国标通道不支持录像回放控制
|
||||
log.warn("[INFO 消息] 非国标通道不支持录像回放控制: 通道ID: {}", sendRtpInfo.getChannelId());
|
||||
responseAck(request, Response.FORBIDDEN, "");
|
||||
|
|
|
@ -93,7 +93,7 @@ public class DeviceInfoQueryMessageHandler extends SIPRequestProcessorParent imp
|
|||
return;
|
||||
}
|
||||
// 判断通道类型
|
||||
if (channel.getGbDeviceId() == null) {
|
||||
if (channel.getGbDeviceDbId() == null) {
|
||||
// 非国标通道不支持录像回放控制
|
||||
log.warn("[DeviceInfo] 非国标通道不支持录像回放控制: 通道ID: {}", channel.getGbId());
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue