Title here
Summary here
StreamDelaySystem.msi from the releases.| Location | Contents |
|---|---|
C:\Program Files\StreamDelay\ | tk-delay-controller.exe, tk-delay-input-receiver.exe, tk-delay-bootstrap.exe, mediamtx.exe |
C:\ProgramData\StreamDelay\ | .env config, hls/ directory, logs/ directory |
| Windows Services | StreamDelayController, StreamDelayInput (both Automatic start) |
| Start Menu | Dashboard shortcut, Reconfigure shortcut, Uninstall shortcut |
msiexec /i StreamDelaySystem.msi /quiet /norestart| Software | Version | Purpose |
|---|---|---|
| Go | 1.24+ | Compile Go services |
| WiX Toolset | 3.14+ | Create MSI installer |
| PowerShell | 5.1+ | Build automation |
| Windows SDK | 10.0+ | Code signing (optional) |
Run the prerequisites installer to automatically check and install everything:
.\install-prerequisites.ps1This script will:
go mod tidy)# Build all components and MSI
.\build-all.ps1
# Clean build (removes all artifacts first)
.\build-all.ps1 -Clean
# Build individual components
cd controller
.\build.ps1
cd ..\services\input-receiver-mediamtx
.\build.ps1
cd ..\..\bootstrapper
.\build.ps1
# Build MSI installer
cd ..
.\build-msi.ps1| Component | Output |
|---|---|
| Controller | controller/tk-delay-controller.exe |
| Input Receiver | services/input-receiver-mediamtx/tk-delay-input-receiver.exe |
| Bootstrapper | bootstrapper/tk-delay-bootstrap.exe |
| MediaMTX | bin/mediamtx.exe |
| Installer | msi/bin/StreamDelaySystem.msi (~25–35 MB) |
# Certificate from Windows Store
$env:CODE_SIGNING_THUMBPRINT = "YOUR_CERTIFICATE_THUMBPRINT"
.\build-all.ps1
# Or using PFX file
$env:CODE_SIGNING_PFX = "C:\Path\To\Certificate.pfx"
$env:CODE_SIGNING_PASSWORD = "YourPassword"
.\build-all.ps1# Check services are running
Get-Service StreamDelayController, StreamDelayInput
# Open dashboard
Start-Process "http://localhost:8080"
# Check logs
Get-Content C:\ProgramData\StreamDelay\logs\controller.log -Tail 20
Get-Content C:\ProgramData\StreamDelay\logs\input-receiver.log -Tail 20| Problem | Solution |
|---|---|
| Windows 11 required | Must be Build 22631 or later |
| Service installation failed | Remove old services with sc delete, retry |
| Services don’t start | Check port conflicts, permissions; restart services |
| Dashboard not accessible | Check service status, port 8080, try http://127.0.0.1:8080 |
| MediaMTX not starting | Verify binary exists, check config, review logs |
msiexec /x {ProductCode}To remove all data including config and logs:
Remove-Item "C:\ProgramData\StreamDelay" -Recurse -Force