调整国标通道判断逻辑
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user