diff --git a/src/main/java/com/genersoft/iot/vmp/gb28181/bean/CommonGbChannel.java b/src/main/java/com/genersoft/iot/vmp/gb28181/bean/CommonGbChannel.java deleted file mode 100644 index afea1416..00000000 --- a/src/main/java/com/genersoft/iot/vmp/gb28181/bean/CommonGbChannel.java +++ /dev/null @@ -1,191 +0,0 @@ -package com.genersoft.iot.vmp.gb28181.bean; - -import io.swagger.v3.oas.annotations.media.Schema; - -public class CommonGbChannel { - - /** - * 国标字段:归属 - */ - @Schema(description = "归属") - private String owner; - - /** - * 国标字段:行政区划 - */ - @Schema(description = "行政区划") - private String civilCode; - - /** - * 国标字段:安装地址 - */ - @Schema(description = "安装地址") - private String address; - - /** - * 国标字段:经度 - */ - @Schema(description = "经度") - private Double longitude; - - /** - * 国标字段:纬度 - */ - @Schema(description = "纬度") - private Double latitude; - - /** - * 国标字段:摄像机类型: - * 1-球机; - * 2-半球; - * 3-固定枪机; - * 4-遥控枪机 - */ - @Schema(description = "摄像机类型") - private Integer ptzType; - - /** - * 国标字段:摄像机位置类型扩展。 - * 1-省际检查站、 - * 2-党政机关、 - * 3-车站码头、 - * 4-中心广场、 - * 5-体育场馆、 - * 6-商业中心、 - * 7-宗教场所、 - * 8-校园周边、 - * 9-治安复杂区域、 - * 10-交通干线 - */ - @Schema(description = "摄像机位置类型扩展") - private Integer positionType; - - /** - * 国标字段:安装位置室外、室内属性 - * 1-室外、 - * 2-室内 - */ - @Schema(description = "安装位置室外、室内属性") - private Integer roomType; - - /** - * 国标字段:用途 - * 1-治安、 - * 2-交通、 - * 3-重点、 - */ - @Schema(description = "用途") - private Integer useType; - - /** - * 国标字段:补光属性 - * 1-无补光、 - * 2-红外补光、 - * 3-白光补光 - */ - @Schema(description = "补光属性") - private Integer supplyLightType; - - /** - * 摄像机监视方位属性。 - * 1-东、 - * 2-西、 - * 3-南、 - * 4-北、 - * 5-东南、 - * 6-东北、 - * 7-西南、 - * 8-西北 - * - */ - @Schema(description = "方位") - private Integer directionType; - - public String getOwner() { - return owner; - } - - public void setOwner(String owner) { - this.owner = owner; - } - - public String getCivilCode() { - return civilCode; - } - - public void setCivilCode(String civilCode) { - this.civilCode = civilCode; - } - - public String getAddress() { - return address; - } - - public void setAddress(String address) { - this.address = address; - } - - public Double getLongitude() { - return longitude; - } - - public void setLongitude(Double longitude) { - this.longitude = longitude; - } - - public Double getLatitude() { - return latitude; - } - - public void setLatitude(Double latitude) { - this.latitude = latitude; - } - - public Integer getPtzType() { - return ptzType; - } - - public void setPtzType(Integer ptzType) { - this.ptzType = ptzType; - } - - public Integer getPositionType() { - return positionType; - } - - public void setPositionType(Integer positionType) { - this.positionType = positionType; - } - - public Integer getRoomType() { - return roomType; - } - - public void setRoomType(Integer roomType) { - this.roomType = roomType; - } - - public Integer getUseType() { - return useType; - } - - public void setUseType(Integer useType) { - this.useType = useType; - } - - public Integer getSupplyLightType() { - return supplyLightType; - } - - public void setSupplyLightType(Integer supplyLightType) { - this.supplyLightType = supplyLightType; - } - - public Integer getDirectionType() { - return directionType; - } - - public void setDirectionType(Integer directionType) { - this.directionType = directionType; - } -} diff --git a/src/main/java/com/genersoft/iot/vmp/gb28181/dao/CommonGBChannelMapper.java b/src/main/java/com/genersoft/iot/vmp/gb28181/dao/CommonGBChannelMapper.java index 1561d9b2..a6bd3a6c 100644 --- a/src/main/java/com/genersoft/iot/vmp/gb28181/dao/CommonGBChannelMapper.java +++ b/src/main/java/com/genersoft/iot/vmp/gb28181/dao/CommonGBChannelMapper.java @@ -233,7 +233,6 @@ public interface CommonGBChannelMapper { " gb_port = null, gb_password = null, gb_status = null, gb_longitude = null, gb_latitude = null, " + " gb_ptz_type = null, gb_position_type = null, gb_room_type = null, gb_use_type = null, gb_supply_light_type = null, " + " gb_direction_type = null, gb_resolution = null, gb_business_group_id = null, gb_download_speed = null, gb_svc_space_support_mod = null, " + - " gb_direction_type = null, gb_resolution = null, gb_business_group_id = null, gb_download_speed = null, gb_svc_space_support_mod = null, " + " gb_svc_time_support_mode = null" + " WHERE id = #{id} and device_db_id = #{gbDeviceDbId}"+ " "}) diff --git a/src/main/java/com/genersoft/iot/vmp/gb28181/transmit/event/request/impl/InviteRequestProcessor.java b/src/main/java/com/genersoft/iot/vmp/gb28181/transmit/event/request/impl/InviteRequestProcessor.java index 7a58dbbb..9a840799 100755 --- a/src/main/java/com/genersoft/iot/vmp/gb28181/transmit/event/request/impl/InviteRequestProcessor.java +++ b/src/main/java/com/genersoft/iot/vmp/gb28181/transmit/event/request/impl/InviteRequestProcessor.java @@ -159,7 +159,7 @@ public class InviteRequestProcessor extends SIPRequestProcessorParent implements return; } log.info("[上级Invite] 平台:{}, 通道:{}({}), 收流地址:{}:{},收流方式:{}, 点播类型:{}, ssrc:{}", - platform.getName(), channel.getGbName(), channel.getGbDeviceDbId(), inviteInfo.getIp(), + platform.getName(), channel.getGbName(), channel.getGbDeviceId(), inviteInfo.getIp(), inviteInfo.getPort(), inviteInfo.isTcp()?(inviteInfo.isTcpActive()?"TCP主动":"TCP被动"): "UDP", inviteInfo.getSessionName(), inviteInfo.getSsrc()); // 通道存在,发100,TRYING