Files
srt-streamer/setup.bat
admin 1f7dbc2a7d feat: initial release — SRT Streamer v1.0.0
Cross-platform Electron + React + FFmpeg desktop app for sending
multiple SRT streams simultaneously.

Features:
- Multiple simultaneous SRT output streams
- Video sources: desktop, window capture, cameras, capture cards
- Audio sources: microphones, system loopback, sound cards
- H.264 encoding with HW acceleration (NVENC/QSV/AMF/VideoToolbox)
- SRT modes: caller / listener / rendezvous
- Frame profile presets (4K, 1080p, 720p, 480p, 360p)
- Tolbek SRT receiver with configurable mode
- System tray: minimize-to-tray, exit confirmation dialog
- Portable build via electron-builder

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-16 00:37:40 +03:00

62 lines
1.6 KiB
Batchfile

@echo off
echo ============================================================
echo SRT Streamer - Setup
echo ============================================================
echo.
:: Check Node.js
where node >nul 2>&1
if %errorlevel% neq 0 (
echo [ERROR] Node.js not found! Please install from https://nodejs.org
pause
exit /b 1
)
:: Check FFmpeg
echo Checking FFmpeg...
where ffmpeg >nul 2>&1
if %errorlevel% neq 0 (
echo [WARNING] FFmpeg not found in system PATH.
echo.
echo Please place ffmpeg.exe in the ffmpeg-bin\ folder.
echo Download FFmpeg with SRT support from:
echo https://github.com/BtbN/FFmpeg-Builds/releases
echo (download ffmpeg-master-latest-win64-gpl.zip)
echo.
mkdir ffmpeg-bin 2>nul
echo After placing ffmpeg.exe in ffmpeg-bin\, run this setup again.
) else (
echo [OK] FFmpeg found in system PATH.
echo.
echo Copying FFmpeg to ffmpeg-bin\...
mkdir ffmpeg-bin 2>nul
for /f "tokens=*" %%i in ('where ffmpeg') do (
copy "%%i" "ffmpeg-bin\ffmpeg.exe" >nul 2>&1
echo Copied: %%i
goto :ffmpeg_done
)
:ffmpeg_done
)
echo.
echo Installing dependencies...
call npm install
if %errorlevel% neq 0 (
echo [ERROR] npm install failed!
pause
exit /b 1
)
echo.
echo Generating icons...
node assets/create-placeholder-icons.js
echo.
echo ============================================================
echo Setup complete!
echo Run: npm run dev (development mode)
echo Run: npm run build (build portable .exe)
echo ============================================================
echo.
pause