feat: add hardware detection service for GPU-accelerated transcoding (NVIDIA/AMD/Intel/VAAPI)

This commit is contained in:
Trevor Mears
2026-01-17 01:00:37 -08:00
parent 2a03cad213
commit f0c1393ce0
3 changed files with 325 additions and 0 deletions
+8
View File
@@ -117,5 +117,13 @@ app.listen(PORT, async () => {
await syncService.syncAll().catch(console.error);
// Start the server-side sync timer after initial sync
await syncService.startSyncTimer().catch(console.error);
// Detect hardware acceleration capabilities
try {
const hwDetect = require('./services/hwDetect');
await hwDetect.detect();
} catch (err) {
console.warn('Hardware detection failed:', err.message);
}
}, 5000);
});