From 19ef839b19923c9bb22e2f6b3e49721868937807 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 3 Dec 2026 10:53:44 +0000 Subject: [PATCH] db_tools.php: module_eve live_* columns for embedded MediaMTX Fresh installs get the WebRTC live view / recording settings (live_mode, live_port, live_record, live_record_segment, live_bitrate, live_fps, live_ice_servers); existing databases are upgraded by Mojo_Web lib/upgrade_database.php. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_0139veDo3XyavMuVhdnHcN16 --- Distro/database/db_tools.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Distro/database/db_tools.php b/Distro/database/db_tools.php index bff075fa..19bbda9e 100644 --- a/Distro/database/db_tools.php +++ b/Distro/database/db_tools.php @@ -331,6 +331,13 @@ CREATE TABLE "module_eve" ( "logo_x" INTEGER DEFAULT 0, "logo_y" INTEGER DEFAULT 0, "logo_md5" TEXT, + "live_mode" INTEGER DEFAULT 1, + "live_port" INTEGER DEFAULT 8889, + "live_record" INTEGER DEFAULT 1, + "live_record_segment" INTEGER DEFAULT 60, + "live_bitrate" INTEGER DEFAULT 2000, + "live_fps" INTEGER DEFAULT 15, + "live_ice_servers" TEXT DEFAULT '', PRIMARY KEY("id" AUTOINCREMENT) ) _DATA_BOUNDARY;