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,234 @@
[
{
"eventType": "participantJoined",
"payload": {
"sid": "PA_remoteB12345",
"identity": "1428486264293441600",
"name": "Test User B"
}
},
{
"eventType": "participantNameChanged",
"payload": {
"sid": "PA_remoteB12345",
"identity": "1428486264293441600",
"oldName": "Test User",
"name": "Test User B"
}
},
{
"eventType": "participantMetadataChanged",
"payload": {
"sid": "PA_remoteB12345",
"identity": "1428486264293441600",
"name": "Test User B",
"oldMetadata": "",
"metadata": "{\"status\":\"presenting\"}",
"attributes": {
"role": "speaker"
}
}
},
{
"eventType": "participantAttributesChanged",
"payload": {
"sid": "PA_remoteB12345",
"identity": "1428486264293441600",
"name": "Test User B",
"attributes": {
"role": "speaker",
"hand": "raised"
},
"changedAttributes": {
"hand": "raised"
}
}
},
{
"eventType": "trackPublished",
"payload": {
"participantSid": "PA_remoteB12345",
"identity": "1428486264293441600",
"participantName": "Test User B",
"trackSid": "TR_remoteVideo01",
"trackName": "remote-screen",
"kind": "video",
"source": "screen_share",
"muted": false,
"subscribed": false,
"subscriptionStatus": "desired"
}
},
{
"eventType": "trackSubscribed",
"payload": {
"participantSid": "PA_remoteB12345",
"identity": "1428486264293441600",
"participantName": "Test User B",
"trackSid": "TR_remoteVideo01",
"trackName": "remote-screen",
"kind": "video",
"source": "screen_share",
"muted": false,
"subscribed": true,
"subscriptionStatus": "subscribed"
}
},
{
"eventType": "trackPublished",
"payload": {
"participantSid": "PA_remoteB12345",
"identity": "1428486264293441600",
"participantName": "Test User B",
"trackSid": "TR_remoteAudio01",
"trackName": "remote-microphone",
"kind": "audio",
"source": "microphone",
"muted": false,
"subscribed": false,
"subscriptionStatus": "desired"
}
},
{
"eventType": "trackSubscribed",
"payload": {
"participantSid": "PA_remoteB12345",
"identity": "1428486264293441600",
"participantName": "Test User B",
"trackSid": "TR_remoteAudio01",
"trackName": "remote-microphone",
"kind": "audio",
"source": "microphone",
"muted": false,
"subscribed": true,
"subscriptionStatus": "subscribed"
}
},
{
"eventType": "trackMuted",
"payload": {
"participantSid": "PA_remoteB12345",
"identity": "1428486264293441600",
"participantName": "Test User B",
"trackSid": "TR_remoteAudio01",
"trackName": "remote-microphone",
"kind": "audio",
"source": "microphone",
"muted": true
}
},
{
"eventType": "trackUnmuted",
"payload": {
"participantSid": "PA_remoteB12345",
"identity": "1428486264293441600",
"participantName": "Test User B",
"trackSid": "TR_remoteAudio01",
"trackName": "remote-microphone",
"kind": "audio",
"source": "microphone",
"muted": false
}
},
{
"eventType": "trackSubscriptionFailed",
"payload": {
"participantSid": "PA_remoteB12345",
"identity": "1428486264293441600",
"participantName": "Test User B",
"trackSid": "TR_remoteCamera01",
"trackName": "remote-camera",
"kind": "video",
"source": "camera",
"muted": false,
"subscribed": false,
"subscriptionStatus": "desired",
"error": "could not find published track with sid: \"TR_remoteCamera01\""
}
},
{
"eventType": "trackSubscriptionFailed",
"payload": {
"participantSid": "PA_remoteB12345",
"identity": "1428486264293441600",
"participantName": "Test User B",
"trackSid": "TR_missingPublication01",
"error": "could not find published track with sid: \"TR_missingPublication01\""
}
},
{
"eventType": "e2eeState",
"payload": {
"sid": "PA_remoteB12345",
"identity": "1428486264293441600",
"name": "Test User B",
"state": "ok"
}
},
{
"eventType": "activeSpeakers",
"payload": {
"sids": ["PA_remoteB12345"],
"participants": [
{
"sid": "PA_remoteB12345",
"identity": "1428486264293441600",
"name": "Test User B"
}
]
}
},
{
"eventType": "connectionQuality",
"payload": {
"sid": "PA_remoteB12345",
"identity": "1428486264293441600",
"name": "Test User B",
"quality": "excellent"
}
},
{
"eventType": "trackUnsubscribed",
"payload": {
"participantSid": "PA_remoteB12345",
"identity": "1428486264293441600",
"participantName": "Test User B",
"trackSid": "TR_remoteVideo01",
"trackName": "remote-screen",
"kind": "video",
"source": "screen_share",
"muted": false,
"subscribed": false,
"subscriptionStatus": "unsubscribed"
}
},
{
"eventType": "trackUnpublished",
"payload": {
"participantSid": "PA_remoteB12345",
"identity": "1428486264293441600",
"participantName": "Test User B",
"trackSid": "TR_remoteVideo01",
"trackName": "remote-screen",
"kind": "video",
"source": "screen_share",
"muted": false,
"subscribed": false,
"subscriptionStatus": "unsubscribed"
}
},
{
"eventType": "participantLeft",
"payload": {
"sid": "PA_remoteB12345",
"identity": "1428486264293441600",
"name": "Test User B"
}
},
{
"eventType": "disconnected",
"payload": {
"reason": "clientinitiated"
}
}
]