| | |
| | | /** |
| | | * 在线 |
| | | */ |
| | | @Schema(description = "是否在线,1为在线,0为离线") |
| | | private int online; |
| | | @Schema(description = "是否在线,true为在线,false为离线") |
| | | private boolean onLine; |
| | | |
| | | |
| | | /** |
| | |
| | | /** |
| | | * 目录订阅周期,0为不订阅 |
| | | */ |
| | | @Schema(description = "目录订阅周期,0为不订阅") |
| | | @Schema(description = "目录订阅周期,o为不订阅") |
| | | private int subscribeCycleForCatalog; |
| | | |
| | | /** |
| | |
| | | * 是否开启ssrc校验,默认关闭,开启可以防止串流 |
| | | */ |
| | | @Schema(description = "是否开启ssrc校验,默认关闭,开启可以防止串流") |
| | | private boolean ssrcCheck = true; |
| | | private boolean ssrcCheck = false; |
| | | |
| | | /** |
| | | * 地理坐标系, 目前支持 WGS84,GCJ02 |
| | | */ |
| | | @Schema(description = "地理坐标系, 目前支持 WGS84,GCJ02") |
| | | private String geoCoordSys; |
| | | |
| | | /** |
| | | * 树类型 国标规定了两种树的展现方式 行政区划:CivilCode 和业务分组:BusinessGroup |
| | | */ |
| | | @Schema(description = "树类型 国标规定了两种树的展现方式 行政区划:CivilCode 和业务分组:BusinessGroup") |
| | | private String treeType; |
| | | |
| | | @Schema(description = "密码") |
| | | private String password; |
| | |
| | | @Schema(description = "是否作为消息通道") |
| | | private boolean asMessageChannel; |
| | | |
| | | @Schema(description = "设备注册的事务信息") |
| | | private SipTransactionInfo sipTransactionInfo; |
| | | |
| | | @Schema(description = "控制语音对讲流程,释放收到ACK后发流") |
| | | private boolean broadcastPushAfterAck; |
| | | |
| | | public String getDeviceId() { |
| | | return deviceId; |
| | |
| | | return streamMode; |
| | | } |
| | | |
| | | public Integer getStreamModeForParam() { |
| | | if (streamMode == null) { |
| | | return 0; |
| | | } |
| | | if (streamMode.equalsIgnoreCase("UDP")) { |
| | | return 0; |
| | | }else if (streamMode.equalsIgnoreCase("TCP-PASSIVE")) { |
| | | return 1; |
| | | }else if (streamMode.equalsIgnoreCase("TCP-ACTIVE")) { |
| | | return 2; |
| | | } |
| | | return 0; |
| | | } |
| | | |
| | | public void setStreamMode(String streamMode) { |
| | | this.streamMode = streamMode; |
| | | } |
| | |
| | | this.hostAddress = hostAddress; |
| | | } |
| | | |
| | | public int getOnline() { |
| | | return online; |
| | | public boolean isOnLine() { |
| | | return onLine; |
| | | } |
| | | |
| | | public void setOnline(int online) { |
| | | this.online = online; |
| | | public void setOnLine(boolean onLine) { |
| | | this.onLine = onLine; |
| | | } |
| | | |
| | | public int getChannelCount() { |
| | |
| | | this.geoCoordSys = geoCoordSys; |
| | | } |
| | | |
| | | public String getTreeType() { |
| | | return treeType; |
| | | } |
| | | |
| | | public void setTreeType(String treeType) { |
| | | this.treeType = treeType; |
| | | } |
| | | |
| | | public String getPassword() { |
| | | return password; |
| | | } |
| | |
| | | public void setAsMessageChannel(boolean asMessageChannel) { |
| | | this.asMessageChannel = asMessageChannel; |
| | | } |
| | | |
| | | public SipTransactionInfo getSipTransactionInfo() { |
| | | return sipTransactionInfo; |
| | | } |
| | | |
| | | public void setSipTransactionInfo(SipTransactionInfo sipTransactionInfo) { |
| | | this.sipTransactionInfo = sipTransactionInfo; |
| | | } |
| | | public boolean isBroadcastPushAfterAck() { |
| | | return broadcastPushAfterAck; |
| | | } |
| | | |
| | | public void setBroadcastPushAfterAck(boolean broadcastPushAfterAck) { |
| | | this.broadcastPushAfterAck = broadcastPushAfterAck; |
| | | } |
| | | } |