| | |
| | | package com.genersoft.iot.vmp.conf; |
| | | |
| | | import org.junit.jupiter.api.Order; |
| | | import org.springframework.boot.context.properties.ConfigurationProperties; |
| | | import org.springframework.stereotype.Component; |
| | | |
| | |
| | | */ |
| | | @Component |
| | | @ConfigurationProperties(prefix = "user-settings", ignoreInvalidFields = true) |
| | | @Order(0) |
| | | public class UserSetting { |
| | | |
| | | private Boolean savePositionHistory = Boolean.FALSE; |
| | |
| | | |
| | | private Boolean useSourceIpAsStreamIp = Boolean.FALSE; |
| | | |
| | | private Boolean sipUseSourceIpAsRemoteAddress = Boolean.FALSE; |
| | | |
| | | private Boolean streamOnDemand = Boolean.TRUE; |
| | | |
| | | private Boolean pushAuthority = Boolean.TRUE; |
| | |
| | | private Boolean gbSendStreamStrict = Boolean.FALSE; |
| | | |
| | | private Boolean syncChannelOnDeviceOnline = Boolean.FALSE; |
| | | |
| | | private Boolean pushStreamAfterAck = Boolean.FALSE; |
| | | |
| | | private Boolean sipLog = Boolean.FALSE; |
| | | |
| | | private String serverId = "000000"; |
| | | |
| | |
| | | public void setSyncChannelOnDeviceOnline(Boolean syncChannelOnDeviceOnline) { |
| | | this.syncChannelOnDeviceOnline = syncChannelOnDeviceOnline; |
| | | } |
| | | |
| | | public Boolean getPushStreamAfterAck() { |
| | | return pushStreamAfterAck; |
| | | } |
| | | |
| | | public void setPushStreamAfterAck(Boolean pushStreamAfterAck) { |
| | | this.pushStreamAfterAck = pushStreamAfterAck; |
| | | } |
| | | |
| | | public Boolean getSipUseSourceIpAsRemoteAddress() { |
| | | return sipUseSourceIpAsRemoteAddress; |
| | | } |
| | | |
| | | public void setSipUseSourceIpAsRemoteAddress(Boolean sipUseSourceIpAsRemoteAddress) { |
| | | this.sipUseSourceIpAsRemoteAddress = sipUseSourceIpAsRemoteAddress; |
| | | } |
| | | |
| | | public Boolean getSipLog() { |
| | | return sipLog; |
| | | } |
| | | |
| | | public void setSipLog(Boolean sipLog) { |
| | | this.sipLog = sipLog; |
| | | } |
| | | } |