优化国标级联目录推送,支持zlm新特性ssrc校验

This commit is contained in:
648540858
2022-04-19 11:52:03 +08:00
parent 9466bf5863
commit 4d975c21da
11 changed files with 83 additions and 31 deletions

View File

@@ -129,6 +129,11 @@ public class Device {
*/
private int subscribeCycleForAlarm;
/**
* 是否开启ssrc校验默认关闭开启可以防止串流
*/
private boolean ssrcCheck;
public String getDeviceId() {
return deviceId;
@@ -321,4 +326,12 @@ public class Device {
public void setSubscribeCycleForAlarm(int subscribeCycleForAlarm) {
this.subscribeCycleForAlarm = subscribeCycleForAlarm;
}
public boolean isSsrcCheck() {
return ssrcCheck;
}
public void setSsrcCheck(boolean ssrcCheck) {
this.ssrcCheck = ssrcCheck;
}
}

View File

@@ -169,6 +169,11 @@ public class DeviceChannel {
*/
private boolean hasAudio;
/**
* 标记通道的类型0->国标通道 1->直播流通道 2->业务分组/虚拟组织/行政区划
*/
private int channelType;
public int getId() {
return id;
}
@@ -441,4 +446,12 @@ public class DeviceChannel {
public void setUpdateTime(String updateTime) {
this.updateTime = updateTime;
}
public int getChannelType() {
return channelType;
}
public void setChannelType(int channelType) {
this.channelType = channelType;
}
}