Initial commit: Retribusi frontend dengan dashboard, event logs, dan settings

This commit is contained in:
mwpn
2025-12-18 11:21:40 +07:00
commit b3573ed390
35 changed files with 7368 additions and 0 deletions

39
proxy/start-proxy.bat Normal file
View File

@@ -0,0 +1,39 @@
@echo off
echo ========================================
echo RTSP to WebSocket Proxy Server
echo ========================================
echo.
cd /d %~dp0
echo Checking Node.js...
node --version >nul 2>&1
if errorlevel 1 (
echo ERROR: Node.js not found!
echo Please install Node.js from https://nodejs.org/
pause
exit /b 1
)
echo Checking FFmpeg...
ffmpeg -version >nul 2>&1
if errorlevel 1 (
echo ERROR: FFmpeg not found!
echo Please install FFmpeg and add to PATH
echo Download from https://ffmpeg.org/download.html
pause
exit /b 1
)
echo.
echo Starting proxy server...
echo RTSP URL: rtsp://10.60.0.10:8554/cam1
echo WebSocket Port: 8082
echo.
echo Press Ctrl+C to stop
echo.
node rtsp-websocket-proxy.js rtsp://10.60.0.10:8554/cam1 8082
pause