How sankey1980/sesameportal works
SesamePortal is a local PHP surveillance portal connected to SesameDVR. A user signs in, manages portal entities and camera access, then views cameras in list/map/player pages or arranges them into saved video walls. The graph preserves documented camera modes and viewer capabilities; most non-wall implementation details are represented at the enclosing app/Portal.php path because their source was not sampled.
Main entry points: Portal.php Application router · VideoWallPages.php Video wall pages · VideoWalls.php Saved video walls · index.php HTTP entry
Components 23
Portal entry
- HTTP entry
public/index.php - Application router
app/Portal.php
Administration
- Login and access
app/Portal.php - Users, groups, servers
app/Portal.php - Camera management
app/Portal.php - Edge agents
app/Portal.php - Personal settings
app/Portal.php - Audit log
app/Portal.php
Camera viewing
- List and map
app/Portal.php - Camera player
app/Portal.php - Video wall pages
app/VideoWallPages.php - Saved video walls
app/VideoWalls.php - Wall playback UI
public/assets/video-wall-playback.js - Wall editor UI
public/assets/video-walls.js
DVR integration
- SesameDVR
- DVR management and auth
app/Portal.php - DVR embeds and archives
app/Portal.php
Persistence and localization
- Portal data access
app/Portal.php - Video wall records
app/VideoWalls.php - Portal database
- UI translations
app/PortalI18nCatalog.php - Wall translations
app/VideoWallTranslations.php
Other components
- Portal user
Connections 25
- Portal user → HTTP entry: requests pages
- HTTP entry → Application router: starts app
- Application router → Login and access: handles sign-in
- Application router → Users, groups, servers: dispatches admin
- Application router → Camera management: dispatches cameras
- Application router → Edge agents: dispatches agents
- Application router → Personal settings: handles settings
- Application router → Audit log: handles audit
- Application router → List and map: serves views
- Application router → Camera player: serves player
- Application router → Video wall pages: dispatches walls
- Video wall pages → Saved video walls: manages walls
- Wall editor UI → Video wall pages: submits edits
- Video wall pages → Wall playback UI: renders playback UI
- Wall playback UI → DVR embeds and archives: controls playback
- Camera player → DVR embeds and archives: loads camera video
- Camera management → DVR management and auth: syncs camera modes
- DVR management and auth → SesameDVR: management and auth
- DVR embeds and archives → SesameDVR: embeds and queries archive
- Application router → Portal data access: reads and writes
- Portal data access → Portal database: queries portal data
- Saved video walls → Portal database: stores wall records
- Saved video walls → Portal data access: checks camera access
- Application router → UI translations: loads messages
- Video wall pages → Wall translations: loads wall messages