Browse Source

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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0139veDo3XyavMuVhdnHcN16
pull/28/head
Claude 4 hours ago
parent
commit
19ef839b19
Failed to extract signature
  1. 7
      Distro/database/db_tools.php

7
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;

Loading…
Cancel
Save