You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
83 lines
1.4 KiB
83 lines
1.4 KiB
![]()
5 years ago
|
package com.genersoft.iot.vmp.conf;
|
||
|
|
||
|
import org.springframework.beans.factory.annotation.Value;
|
||
|
import org.springframework.context.annotation.Configuration;
|
||
|
|
||
|
@Configuration
|
||
|
public class SipConfig {
|
||
|
|
||
|
@Value("${sip.ip}")
|
||
|
String sipIp;
|
||
|
@Value("${sip.port}")
|
||
|
Integer sipPort;
|
||
|
@Value("${sip.domain}")
|
||
|
String sipDomain;
|
||
|
@Value("${sip.password}")
|
||
|
String sipPassword;
|
||
|
@Value("${media.ip}")
|
||
|
String mediaIp;
|
||
|
@Value("${media.port}")
|
||
|
Integer mediaPort;
|
||
|
|
||
|
@Value("${sip.ptz.speed:50}")
|
||
|
Integer speed;
|
||
|
|
||
|
public String getSipIp() {
|
||
|
return sipIp;
|
||
|
}
|
||
|
|
||
|
public void setSipIp(String sipIp) {
|
||
|
this.sipIp = sipIp;
|
||
|
}
|
||
|
|
||
|
public Integer getSipPort() {
|
||
|
return sipPort;
|
||
|
}
|
||
|
|
||
|
public void setSipPort(Integer sipPort) {
|
||
|
this.sipPort = sipPort;
|
||
|
}
|
||
|
|
||
|
public String getSipDomain() {
|
||
|
return sipDomain;
|
||
|
}
|
||
|
|
||
|
public void setSipDomain(String sipDomain) {
|
||
|
this.sipDomain = sipDomain;
|
||
|
}
|
||
|
|
||
|
public String getSipPassword() {
|
||
|
return sipPassword;
|
||
|
}
|
||
|
|
||
|
public void setSipPassword(String sipPassword) {
|
||
|
this.sipPassword = sipPassword;
|
||
|
}
|
||
|
|
||
|
public String getMediaIp() {
|
||
|
return mediaIp;
|
||
|
}
|
||
|
|
||
|
public void setMediaIp(String mediaIp) {
|
||
|
this.mediaIp = mediaIp;
|
||
|
}
|
||
|
|
||
|
public Integer getMediaPort() {
|
||
|
return mediaPort;
|
||
|
}
|
||
|
|
||
|
public void setMediaPort(Integer mediaPort) {
|
||
|
this.mediaPort = mediaPort;
|
||
|
}
|
||
|
|
||
|
public Integer getSpeed() {
|
||
|
return speed;
|
||
|
}
|
||
|
|
||
|
public void setSpeed(Integer speed) {
|
||
|
this.speed = speed;
|
||
|
}
|
||
|
|
||
|
|
||
|
}
|