From 27cc39dab025fffaa93a08dd668d0d178c277245 Mon Sep 17 00:00:00 2001 From: ZGaetano Date: Sun, 3 May 2026 16:31:13 -0400 Subject: [PATCH] feat(deploy): add Wild Dragon WebRTC admin page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Single-file HTML/JS admin page seeded into /core/data alongside whep-player.html. Lets an operator log in with the API_AUTH_USERNAME + API_AUTH_PASSWORD creds, list every process, and toggle webrtc.enabled per process with a single button. WHEP URL displayed for enabled processes with a one-click "open in WHEP player" link. Closes the v0.1 GUI gap: the upstream Restreamer UI we ship doesn't know about Core's webrtc config block, so toggling WebRTC required direct API calls. This page is the user-friendly path. Reachable at /wilddragon-webrtc.html on any deploy. No build step — drops in via the existing seed-data.sh flow. --- .../core/static/wilddragon-webrtc.html | 482 ++++++++++++++++++ 1 file changed, 482 insertions(+) create mode 100644 deploy/truenas/core/static/wilddragon-webrtc.html diff --git a/deploy/truenas/core/static/wilddragon-webrtc.html b/deploy/truenas/core/static/wilddragon-webrtc.html new file mode 100644 index 0000000..209fa9b --- /dev/null +++ b/deploy/truenas/core/static/wilddragon-webrtc.html @@ -0,0 +1,482 @@ + + + + +Dragon Fork — WebRTC Admin + + + + +
+

Dragon Fork WebRTC Admin

+ enable / disable WebRTC egress per process + + +
+ +
+ +
+

Sign in

+

+ Use the same credentials as Core's API + (API_AUTH_USERNAME / API_AUTH_PASSWORD). +

+ + + + +
+ +
+
+
+ + + +
+ + + +