mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-05-19 20:07:49 +08:00
添加字段控制是否自动同步国标通道
This commit is contained in:
parent
94ec880fe8
commit
ea271bf4b9
@ -4,6 +4,8 @@ alter table wvp_device_channel
|
||||
alter table wvp_device_channel
|
||||
add common_gb_channel_id int
|
||||
|
||||
|
||||
alter table wvp_platform
|
||||
add auto_push_channel bool default false
|
||||
|
||||
alter table wvp_device
|
||||
add auto_sync_channel bool default true
|
||||
|
||||
@ -33,6 +33,7 @@ create table wvp_device (
|
||||
keepalive_interval_time integer,
|
||||
switch_primary_sub_stream bool default false,
|
||||
broadcast_push_after_ack bool default false,
|
||||
auto_sync_channel bool default true,
|
||||
constraint uk_device_device unique (device_id)
|
||||
);
|
||||
|
||||
|
||||
@ -188,7 +188,8 @@ public class Device {
|
||||
@Schema(description = "设备注册的事务信息")
|
||||
private SipTransactionInfo sipTransactionInfo;
|
||||
|
||||
|
||||
@Schema(description = "自动同步通道信息到资源库")
|
||||
private boolean autoSyncChannel;
|
||||
|
||||
|
||||
public String getDeviceId() {
|
||||
@ -465,7 +466,11 @@ public class Device {
|
||||
this.switchPrimarySubStream = switchPrimarySubStream;
|
||||
}
|
||||
|
||||
/*======================设备主子码流逻辑END=========================*/
|
||||
|
||||
public boolean isAutoSyncChannel() {
|
||||
return autoSyncChannel;
|
||||
}
|
||||
|
||||
public void setAutoSyncChannel(boolean autoSyncChannel) {
|
||||
this.autoSyncChannel = autoSyncChannel;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user