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:
@@ -0,0 +1,49 @@
|
||||
{
|
||||
"name": "basic_session",
|
||||
"events": [
|
||||
{
|
||||
"type": "microphone.publishRequested",
|
||||
"options": {
|
||||
"deviceId": "default"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "connection.connectRequested",
|
||||
"options": {
|
||||
"url": "wss://voice.example.test",
|
||||
"token": "token-1"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "connection.connectSucceeded",
|
||||
"operationId": 1
|
||||
},
|
||||
{
|
||||
"type": "microphone.publishSucceeded",
|
||||
"operationId": 2
|
||||
},
|
||||
{
|
||||
"type": "gateway.voiceStateUpdated",
|
||||
"voiceState": {
|
||||
"guildId": "guild-1",
|
||||
"channelId": "channel-1",
|
||||
"userId": "user-1",
|
||||
"sessionId": "session-1",
|
||||
"selfMute": false,
|
||||
"selfDeaf": false,
|
||||
"selfVideo": false,
|
||||
"selfStream": false,
|
||||
"suppress": false,
|
||||
"requestToSpeakTimestamp": null
|
||||
}
|
||||
}
|
||||
],
|
||||
"expected": {
|
||||
"nextOperationId": 3,
|
||||
"connectionStatus": "connected",
|
||||
"activeUrl": "wss://voice.example.test",
|
||||
"microphoneStatus": "published",
|
||||
"microphoneDeviceId": "default",
|
||||
"gatewayChannelId": "channel-1"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user