开始重构云端录像

This commit is contained in:
648540858
2023-10-12 18:34:16 +08:00
parent 78f628dd6f
commit 298a9f4280
8 changed files with 369 additions and 5 deletions

View File

@@ -6,3 +6,19 @@ alter table wvp_platform
alter table wvp_stream_proxy
add stream_key varying(255)
create table wvp_cloud_record (
id serial primary key,
app character varying(255),
stream character varying(255),
call_id character varying(255),
start_time integer,
end_time integer,
media_server_id character varying(50),
file_name character varying(50),
folder character varying(50),
file_path character varying(255),
file_size integer,
time_len integer,
constraint uk_stream_push_app_stream_path unique (app, stream, file_path)
);

View File

@@ -266,6 +266,21 @@ create table wvp_stream_push (
self bool default false,
constraint uk_stream_push_app_stream unique (app, stream)
);
create table wvp_cloud_record (
id serial primary key,
app character varying(255),
stream character varying(255),
call_id character varying(255),
start_time integer,
end_time integer,
mediaServerId character varying(50),
file_name character varying(50),
folder character varying(50),
file_path character varying(255),
file_size integer,
time_len integer,
constraint uk_stream_push_app_stream_path unique (app, stream, file_path)
);
create table wvp_user (
id serial primary key,