From 2af5cf496c811fd302564c7edb29d4e5f6cf31e2 Mon Sep 17 00:00:00 2001 From: 64850858 <648540858@qq.com> Date: 星期五, 04 六月 2021 19:22:47 +0800 Subject: [PATCH] 修复 拉流代理的ffmpeg模式 --- sql/mysql.sql | 15 ++++++++------- 1 files changed, 8 insertions(+), 7 deletions(-) diff --git a/sql/mysql.sql b/sql/mysql.sql index bfed62e..3f3b876 100644 --- a/sql/mysql.sql +++ b/sql/mysql.sql @@ -46,7 +46,7 @@ streamId varchar(50) null, deviceId varchar(50) not null, parental varchar(50) null, - hasAudio tinyint(1) null, + hasAudio bit(1) null, primary key (channelId, deviceId) ); @@ -82,10 +82,10 @@ create table parent_platform ( + id int auto_increment, enable int null, name varchar(50) null, - serverGBId varchar(50) not null - primary key, + serverGBId varchar(50) not null, serverGBDomain varchar(50) null, serverIP varchar(50) null, serverPort int null, @@ -100,7 +100,8 @@ characterSet varchar(50) null, ptz int null, rtcp int null, - status tinyint(1) null + status bit(1) null, + primary key (id, serverGBId) ); create table platform_gb_channel @@ -131,9 +132,9 @@ timeout_ms int null, ffmpeg_cmd_key varchar(50) null, rtp_type varchar(50) null, - enable_hls tinyint(1) null, - enable_mp4 tinyint(1) null, - enable tinyint(1) not null, + enable_hls bit(1) null, + enable_mp4 bit(1) null, + enable bit(1) not null, primary key (app, stream) ); -- Gitblit v1.8.0