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,246 @@
{
"status": "fail",
"startedAt": "2026-06-05T22:00:49.164Z",
"endedAt": "2026-06-05T22:00:50.336Z",
"platform": "win32",
"arch": "x64",
"config": {
"url": "ws://100.79.83.54:17880",
"serverApiUrl": "http://100.79.83.54:17880",
"apiKey": "devkey",
"room": "fluxer-webrtc-harness-3456-3aa0da22-e543-4846-a980-1ef479694d1f",
"externalTokens": false,
"publisherIdentity": "fluxer-native-publisher-3456",
"secondaryPublisherIdentity": "fluxer-native-publisher-2-3456",
"subscriberIdentity": "fluxer-native-subscriber-3456",
"required": true,
"strict": false,
"timeoutMs": 30000,
"connectTimeoutMs": 30000,
"disconnectTimeoutMs": 10000,
"probeTimeoutMs": 1500,
"durationMs": 0,
"width": 640,
"height": 360,
"expectedWidth": 640,
"expectedHeight": 360,
"fps": 15,
"minFpsRatio": 0,
"maxFrameGapMs": 0,
"maxAudioFrameGapMs": 0,
"maxAvDriftMs": 0,
"maxPacketLoss": null,
"requireStableResolution": false,
"videoPattern": "gradient",
"videoInput": "bgra",
"subscriberVideoQuality": null,
"screenCodecs": ["hevc"],
"expectedScreenCodecs": ["hevc"],
"codec": "hevc",
"expectedScreenCodec": "video/H265",
"secondaryPublisher": false,
"secondaryPublisherCodec": "hevc",
"secondaryPublisherCodecExplicit": false,
"expectedSecondaryPublisherCodec": "video/H265",
"expectedSecondaryPublisherCodecExplicit": false,
"screenSimulcast": true,
"secondaryPublisherScreenSimulcast": true,
"adaptiveSend": true,
"minVideoFps": 15,
"minResolutionScale": 0.5,
"maxAudioBufferMs": 750,
"secondaryPublisherMicrophone": true,
"secondaryPublisherScreenAudio": false,
"maxBitrateBps": 400000,
"sampleRate": 48000,
"channels": 1,
"audioChunkMs": 20,
"microphone": true,
"screenAudio": false,
"dataPacket": false,
"subscriptionCycle": false,
"validateServerPublishing": false,
"camera": false,
"cameraDeviceId": null,
"expectedCameraCodec": null,
"expectedHardwareEncoder": null,
"reportPath": "C:\\f\\fluxer_desktop\\native\\webrtc-sender\\native-media-reports\\windows-mx450-livekit-hevc-failfast-20260605.json",
"verbose": false,
"scenarioName": "codec-hevc",
"apiSecret": "<redacted>",
"e2eeKey": null,
"publisherToken": null,
"secondaryPublisherToken": null,
"subscriberToken": null
},
"checks": [
{
"name": "publisher connected",
"pass": true
},
{
"name": "subscriber connected",
"pass": true
},
{
"name": "publisher local screenshare publication",
"pass": false
},
{
"name": "subscriber remote screenshare subscription",
"pass": false
},
{
"name": "subscriber inbound video frames >= 3",
"pass": false
},
{
"name": "subscriber video frame callback",
"pass": false
},
{
"name": "publisher outbound screenshare stats",
"pass": false
},
{
"name": "subscriber inbound video stats",
"pass": false
},
{
"name": "subscriber inbound video stats count >= 1",
"pass": false
},
{
"name": "subscriber video resolution 640x360",
"pass": false
},
{
"name": "subscriber aggregate inbound audio frames >= 3",
"pass": false
},
{
"name": "subscriber inbound audio stats count >= 1",
"pass": false
},
{
"name": "publisher local microphone publication",
"pass": false
},
{
"name": "subscriber remote microphone subscription",
"pass": false
},
{
"name": "subscriber inbound audio frames >= 3",
"pass": false
},
{
"name": "publisher outbound microphone stats",
"pass": false
},
{
"name": "subscriber inbound audio stats",
"pass": false
},
{
"name": "publisher outbound screenshare codec video/H265",
"pass": false
},
{
"name": "subscriber inbound video codec video/H265",
"pass": false
}
],
"skippedReason": null,
"error": "Error: H.265 publishing requires hardware encoder support; missing NVENC encode session (checked 1 CUDA device; last status NV_ENC_ERR_UNSUPPORTED_DEVICE (2))",
"hardwareEncoder": {
"available": false,
"backend": "none",
"compiled": true,
"runtime": false,
"codecs": [],
"zeroCopy": false,
"nativeInputs": [],
"reason": "no_supported_devices",
"detail": "missing NVENC encode session (checked 1 CUDA device; last status NV_ENC_ERR_UNSUPPORTED_DEVICE (2))"
},
"metrics": {
"inboundAudioFrames": 0,
"inboundVideoFrames": 0,
"strictAudioFrames": 0,
"strictVideoFrames": 0,
"videoCallbacks": 0,
"videoBytes": 0,
"receivedFps": 0,
"requiredFps": null,
"maxVideoFrameGapMs": 0,
"maxAudioFrameGapMs": 0,
"maxVideoFrameGapOverallMs": 0,
"maxAudioFrameGapOverallMs": 0,
"avDriftMs": null,
"maxObservedPacketLoss": 0,
"maxObservedPacketLossDelta": 0,
"videoResolutionCounts": {},
"videoResolutionMismatchCount": 0,
"droppedVideoFrameCallbacks": 0,
"publisherVideoPump": null,
"secondaryPublisherVideoPump": null,
"serverPublishing": {
"fetchedAtMs": null,
"error": null,
"participants": []
},
"lastVideoMeta": null,
"publisherStats": {
"rttMs": null,
"outbound": [],
"inbound": [],
"send": {
"outgoingVideoQueueDepth": 0,
"outgoingVideoFramesProduced": 0,
"outgoingVideoFramesAccepted": 0,
"outgoingVideoFramesDropped": 0,
"outgoingVideoFramesCoalesced": 0,
"outgoingVideoFramesCaptured": 0,
"outgoingVideoCaptureFailures": 0,
"outgoingVideoEffectiveFps": 0,
"outgoingVideoTargetFps": 0,
"outgoingVideoMaxQueueAgeMs": 0,
"outgoingVideoMaxPushLatencyMs": 0,
"outgoingAudioBufferTargetMs": 200,
"outgoingAudioBufferMaxMs": 750,
"outgoingAudioUnderruns": 0,
"outgoingAudioRebuffers": 0,
"outgoingAudioMaxFrameGapMs": 0,
"adaptiveSendTier": "idle",
"adaptiveSendReason": "notPublishing"
}
},
"secondaryPublisherStats": null,
"subscriberStats": {
"rttMs": null,
"outbound": [],
"inbound": [],
"send": {
"outgoingVideoQueueDepth": 0,
"outgoingVideoFramesProduced": 0,
"outgoingVideoFramesAccepted": 0,
"outgoingVideoFramesDropped": 0,
"outgoingVideoFramesCoalesced": 0,
"outgoingVideoFramesCaptured": 0,
"outgoingVideoCaptureFailures": 0,
"outgoingVideoEffectiveFps": 0,
"outgoingVideoTargetFps": 0,
"outgoingVideoMaxQueueAgeMs": 0,
"outgoingVideoMaxPushLatencyMs": 0,
"outgoingAudioBufferTargetMs": 200,
"outgoingAudioBufferMaxMs": 750,
"outgoingAudioUnderruns": 0,
"outgoingAudioRebuffers": 0,
"outgoingAudioMaxFrameGapMs": 0,
"adaptiveSendTier": "idle",
"adaptiveSendReason": "notPublishing"
}
}
}
}