How bp2008/ui3 works
Main Components Identification
The system appears to be a web-based frontend application with several key components:
a. Core Interface Components:
• Main UI (ui3.htm, ui3.js, ui3.css)
• Login System (login.htm, loginScripts.js)
• Live Streaming (livestream.htm)
• Help System (ui3/help/)
b. Resource Components:
• Sound Library (/sounds/)
• Third-party Libraries (ui3/libs-src/)
┌─────────────────────────────────────────────┐
• UI Layer │
• ┤
• Service Worker │
• ┤
• Communication Layer │
• ┤
• Blue Iris Server │
• ┘
Component Relationships
Key interactions:
• Frontend components → Service Worker (ui3serviceworker.js)
• Service Worker → Blue Iris Server
• MQTT Communication (paho-mqtt.js)
• Video Streaming Components (using WebGL, AVI.js, jmuxer.js)
Technical Elements
a. Frontend Technologies:
• HTML5 Components
• JavaScript Libraries (Vue.js, jQuery)
• CSS Styling
• WebGL Video Rendering
b. Communication Protocols:
• MQTT
• WebSocket (for real-time updates)
• HTTP/HTTPS
User Interface Layer
• Main UI
• Live View
• Configuration Panels
Processing Layer
• Video Decoder (openh264_decoder.js)
• Audio Handler
• Event System
Communication Layer
• MQTT Client
• WebSocket Handler
• REST API Interface
Important Notes
• HTML5/modern browser focus
• Separation between UI3 and Blue Iris server
• Real-time video streaming architecture
• Authentication flow
• Service worker caching strategy