|  |  |  | 
|---|
|  |  |  | package com.genersoft.iot.vmp.conf; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import io.swagger.models.auth.In; | 
|---|
|  |  |  | import org.springframework.boot.context.properties.ConfigurationProperties; | 
|---|
|  |  |  | import org.springframework.stereotype.Component; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | private Boolean logInDatebase = Boolean.TRUE; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | private Boolean redisConfig = Boolean.TRUE; | 
|---|
|  |  |  | private Boolean usePushingAsStatus = Boolean.TRUE; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | private Boolean useSourceIpAsStreamIp = Boolean.FALSE; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | private Boolean streamOnDemand = Boolean.TRUE; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | private Boolean pushAuthority = Boolean.TRUE; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | private Boolean gbSendStreamStrict = Boolean.FALSE; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | private Boolean syncChannelOnDeviceOnline = Boolean.FALSE; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | private String serverId = "000000"; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | this.thirdPartyGBIdReg = thirdPartyGBIdReg; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public Boolean getRedisConfig() { | 
|---|
|  |  |  | return redisConfig; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public void setRedisConfig(Boolean redisConfig) { | 
|---|
|  |  |  | this.redisConfig = redisConfig; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public Boolean getRecordSip() { | 
|---|
|  |  |  | return recordSip; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | 
|---|
|  |  |  | public void setPlatformPlayTimeout(int platformPlayTimeout) { | 
|---|
|  |  |  | this.platformPlayTimeout = platformPlayTimeout; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public Boolean isUsePushingAsStatus() { | 
|---|
|  |  |  | return usePushingAsStatus; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public void setUsePushingAsStatus(Boolean usePushingAsStatus) { | 
|---|
|  |  |  | this.usePushingAsStatus = usePushingAsStatus; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public Boolean getStreamOnDemand() { | 
|---|
|  |  |  | return streamOnDemand; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public void setStreamOnDemand(Boolean streamOnDemand) { | 
|---|
|  |  |  | this.streamOnDemand = streamOnDemand; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public Boolean getUseSourceIpAsStreamIp() { | 
|---|
|  |  |  | return useSourceIpAsStreamIp; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public void setUseSourceIpAsStreamIp(Boolean useSourceIpAsStreamIp) { | 
|---|
|  |  |  | this.useSourceIpAsStreamIp = useSourceIpAsStreamIp; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public Boolean getPushAuthority() { | 
|---|
|  |  |  | return pushAuthority; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public void setPushAuthority(Boolean pushAuthority) { | 
|---|
|  |  |  | this.pushAuthority = pushAuthority; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public Boolean getGbSendStreamStrict() { | 
|---|
|  |  |  | return gbSendStreamStrict; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public void setGbSendStreamStrict(Boolean gbSendStreamStrict) { | 
|---|
|  |  |  | this.gbSendStreamStrict = gbSendStreamStrict; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public Boolean getSyncChannelOnDeviceOnline() { | 
|---|
|  |  |  | return syncChannelOnDeviceOnline; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public void setSyncChannelOnDeviceOnline(Boolean syncChannelOnDeviceOnline) { | 
|---|
|  |  |  | this.syncChannelOnDeviceOnline = syncChannelOnDeviceOnline; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|