修复云端录像seek不准确的问题

This commit is contained in:
lin
2025-04-14 12:43:05 +08:00
parent 59c6243338
commit f2e3016a48
15 changed files with 41 additions and 24 deletions

View File

@@ -365,7 +365,7 @@ create table IF NOT EXISTS wvp_cloud_record
file_path character varying(500),
collect bool default false,
file_size bigint,
time_len bigint
time_len double precision
);
drop table IF EXISTS wvp_user;

View File

@@ -366,7 +366,7 @@ create table IF NOT EXISTS wvp_cloud_record
file_path character varying(500),
collect bool default false,
file_size int8,
time_len int8
time_len double precision
);
drop table IF EXISTS wvp_user;

View File

@@ -426,3 +426,7 @@ call wvp_20250111();
DROP PROCEDURE wvp_20250111;
DELIMITER ;
/**
* 20250414
*/
alter table wvp_cloud_record modify time_len double precision;

View File

@@ -294,5 +294,10 @@ call wvp_20250402();
DROP PROCEDURE wvp_20250402;
DELIMITER ;
/**
* 20250414
*/
alter table wvp_cloud_record modify time_len double precision;

View File

@@ -388,3 +388,7 @@ alter table wvp_cloud_record alter folder type varchar(500);
alter table wvp_cloud_record alter file_path type varchar(500);
update wvp_cloud_record set server_id = '你的服务ID';
/**
* 20250414
*/
alter table wvp_cloud_record modify time_len double precision;

View File

@@ -112,4 +112,8 @@ update wvp_record_plan_item set start = start * 30, stop = (stop + 1) * 30
create index if not exists data_type on wvp_device_channel (data_type);
create index if not exists data_device_id on wvp_device_channel (data_device_id);
/**
* 20250414
*/
alter table wvp_cloud_record modify time_len double precision;