Add native self-hosted instance connection to fluxer_desktop

Trimmed monorepo checkout (fluxer_desktop + packages/voice_engine_v2 +
tools/ci) with a "Connect to a Different Server" menu item and popout
that lets the desktop app switch to any self-hosted Fluxer instance,
plus fixes for well-known discovery on single-domain self-hosted
deployments and a false-positive ERR_ABORTED on same-origin client
redirects during the switch. Defaults to chat.fluxr.chat and uses an
isolated userData directory from the official build.
This commit is contained in:
2026-07-01 18:22:43 -04:00
commit 682afacd30
1763 changed files with 613720 additions and 0 deletions
@@ -0,0 +1,93 @@
{
"name": "codec_republish",
"events": [
{
"type": "connection.connectRequested",
"options": {
"url": "wss://voice.example.test",
"token": "token-codec"
}
},
{
"type": "connection.connectSucceeded",
"operationId": 1
},
{
"type": "screen.publishRequested",
"options": {
"captureId": "capture-screen-1",
"width": 1920,
"height": 1080,
"codec": "h264",
"hardwareEncoding": true,
"zeroCopyRequired": true,
"maxFramerate": 60
}
},
{
"type": "screen.publishSucceeded",
"operationId": 2
},
{
"type": "screen.updateEncodingRequested",
"options": {
"captureId": "capture-screen-1",
"width": 1920,
"height": 1080,
"codec": "h265",
"hardwareEncoding": true,
"zeroCopyRequired": true,
"frameRate": 60
}
},
{
"type": "screen.publishSucceeded",
"operationId": 3
}
],
"expectedCommands": [
{
"type": "connection.connect",
"operationId": 1,
"options": {
"url": "wss://voice.example.test",
"token": "token-codec"
}
},
{
"type": "screen.publish",
"operationId": 2,
"options": {
"captureId": "capture-screen-1",
"width": 1920,
"height": 1080,
"codec": "h264",
"hardwareEncoding": true,
"zeroCopyRequired": true,
"maxFramerate": 60
}
},
{
"type": "screen.publish",
"operationId": 3,
"options": {
"captureId": "capture-screen-1",
"width": 1920,
"height": 1080,
"codec": "h265",
"hardwareEncoding": true,
"zeroCopyRequired": true,
"maxFramerate": 60
}
}
],
"expected": {
"nextOperationId": 4,
"screenStatus": "published",
"screenCaptureId": "capture-screen-1",
"screenCodec": "h265",
"screenHardwareEncoding": true,
"screenZeroCopyRequired": true,
"lastFailureCode": null
}
}