添加zlm集群支持
This commit is contained in:
@@ -94,6 +94,11 @@ public class Device {
|
||||
*/
|
||||
private String updateTime;
|
||||
|
||||
/**
|
||||
* 设备使用的媒体id, 默认为null
|
||||
*/
|
||||
private String mediaServerId;
|
||||
|
||||
public String getDeviceId() {
|
||||
return deviceId;
|
||||
}
|
||||
@@ -229,4 +234,12 @@ public class Device {
|
||||
public void setUpdateTime(String updateTime) {
|
||||
this.updateTime = updateTime;
|
||||
}
|
||||
|
||||
public String getMediaServerId() {
|
||||
return mediaServerId;
|
||||
}
|
||||
|
||||
public void setMediaServerId(String mediaServerId) {
|
||||
this.mediaServerId = mediaServerId;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,6 +9,7 @@ public class GbStream extends PlatformGbStream{
|
||||
private String stream;
|
||||
private String gbId;
|
||||
private String name;
|
||||
private String mediaServerId;
|
||||
private double longitude;
|
||||
private double latitude;
|
||||
private String streamType;
|
||||
@@ -77,4 +78,12 @@ public class GbStream extends PlatformGbStream{
|
||||
public void setStatus(boolean status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String getMediaServerId() {
|
||||
return mediaServerId;
|
||||
}
|
||||
|
||||
public void setMediaServerId(String mediaServerId) {
|
||||
this.mediaServerId = mediaServerId;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -66,6 +66,11 @@ public class SendRtpItem {
|
||||
*/
|
||||
private int localPort;
|
||||
|
||||
/**
|
||||
* 使用的流媒体
|
||||
*/
|
||||
private String mediaServerId;
|
||||
|
||||
public String getIp() {
|
||||
return ip;
|
||||
}
|
||||
@@ -161,4 +166,12 @@ public class SendRtpItem {
|
||||
public void setTcpActive(boolean tcpActive) {
|
||||
this.tcpActive = tcpActive;
|
||||
}
|
||||
|
||||
public String getMediaServerId() {
|
||||
return mediaServerId;
|
||||
}
|
||||
|
||||
public void setMediaServerId(String mediaServerId) {
|
||||
this.mediaServerId = mediaServerId;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user