修复通道编辑重置

pull/1642/head
648540858 2024-09-20 15:55:40 +08:00
parent 77f1dfb6d6
commit f7936117f9
3 changed files with 1 additions and 193 deletions

View File

@ -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;
}
}

View File

@ -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}"+
" </script>"})

View File

@ -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());
// 通道存在发100TRYING