feat: Implement an Electron-based broadcasting client with screen/window and audio source selection, including Pipewire integration, and add auto-unmute to the viewer.

This commit is contained in:
2026-02-23 04:06:02 +01:00
parent 95208cfab6
commit 56e59a5e2b
11 changed files with 1710 additions and 0 deletions

12
client/test-devices.js Normal file
View File

@@ -0,0 +1,12 @@
const { app, BrowserWindow } = require('electron');
app.whenReady().then(() => {
const win = new BrowserWindow({ show: false });
win.webContents.executeJavaScript(`
navigator.mediaDevices.getUserMedia({audio:true}).then(() =>
navigator.mediaDevices.enumerateDevices()
).then(devices => devices.map(d => d.label))
`).then(labels => {
console.log("LABELS:", labels.filter(l => l.toLowerCase().includes('screenshare')));
app.quit();
});
});