Files
srt-streamer/package.json
T
admin acbd3b6349 feat: v1.2.0 — auto-reconnect, recording, monitor bounds, WASAPI loopback
- Auto-reconnect: stream retries with exponential backoff (2s→30s max)
  on unexpected exit; stops only when user clicks Stop
- Recording: global RecordingBar with folder picker, segment duration (min),
  per-stream checkbox, Select All; uses FFmpeg tee muxer for simultaneous
  SRT + segmented .ts file output
- Monitor capture: PowerShell System.Windows.Forms.Screen gives exact
  pixel bounds (x/y/width/height); per-monitor deviceName is now unique
  (desktop_monitor_N); gdigrab uses -offset_x/-offset_y/-video_size
- Window capture: windowTitle now explicitly propagated in handleVideoSelect
- System audio: added WASAPI Loopback option (no VB-Audio required),
  existing virtual-audio-capturer kept as fallback
- Reconnecting event forwarded to renderer; status shows "Reconnecting…"
  with attempt count in logs
- IPC: pick-folder (dialog.showOpenDialog) and open-folder (shell.openPath)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-22 12:10:39 +03:00

81 lines
2.2 KiB
JSON

{
"name": "srt-streamer",
"version": "1.2.0",
"description": "Cross-platform SRT multi-stream sender with system tray",
"main": "electron/main.js",
"scripts": {
"dev": "concurrently \"vite\" \"wait-on http://localhost:5173 && electron .\"",
"icon": "node scripts/build-icon.js",
"build": "node scripts/build-icon.js && vite build && electron-builder",
"fix-wincodeSign": "node scripts/fix-wincodeSign.js",
"build:win": "node scripts/build-icon.js && vite build && node scripts/fix-wincodeSign.js && cross-env CSC_IDENTITY_AUTO_DISCOVERY=false electron-builder --win portable",
"build:mac": "node scripts/build-icon.js && vite build && electron-builder --mac",
"build:linux": "node scripts/build-icon.js && vite build && electron-builder --linux",
"preview": "vite preview"
},
"dependencies": {
"fluent-ffmpeg": "^2.1.3"
},
"devDependencies": {
"@vitejs/plugin-react": "^4.3.4",
"concurrently": "^9.1.2",
"cross-env": "^7.0.3",
"electron": "^33.4.0",
"electron-builder": "^24.13.3",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"vite": "^6.0.7",
"vite-plugin-electron": "^0.29.0",
"wait-on": "^8.0.1"
},
"build": {
"appId": "com.srtstreamer.app",
"productName": "SRT Streamer",
"copyright": "SRT Streamer",
"directories": {
"output": "dist-electron",
"buildResources": "assets"
},
"files": [
"dist/**/*",
"electron/**/*",
"assets/**/*",
"package.json"
],
"extraResources": [
{
"from": "ffmpeg-bin/",
"to": "ffmpeg-bin/",
"filter": [
"**/*"
]
}
],
"asar": true,
"win": {
"target": [
{
"target": "portable",
"arch": [
"x64"
]
}
],
"icon": "assets/icon.ico",
"artifactName": "SRT-Streamer-Portable-${version}.exe",
"requestedExecutionLevel": "asInvoker",
"sign": null,
"signingHashAlgorithms": null,
"certificateFile": null
},
"mac": {
"target": "dmg",
"icon": "assets/icon.icns"
},
"linux": {
"target": "AppImage",
"icon": "assets/icon.png"
}
}
}