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:
+287
@@ -0,0 +1,287 @@
|
||||
{
|
||||
"status": "pass",
|
||||
"startedAt": "2026-06-05T20:50:00.568Z",
|
||||
"endedAt": "2026-06-05T20:50:17.383Z",
|
||||
"platform": "linux",
|
||||
"arch": "x64",
|
||||
"config": {
|
||||
"url": "ws://100.79.83.54:17880",
|
||||
"serverApiUrl": "http://100.79.83.54:17880",
|
||||
"apiKey": "devkey",
|
||||
"room": "fluxer-webrtc-harness-92677-28ffd7a4-19ee-49cf-87d1-e31ab80864f4",
|
||||
"externalTokens": false,
|
||||
"publisherIdentity": "fluxer-native-publisher-92677",
|
||||
"secondaryPublisherIdentity": "fluxer-native-publisher-2-92677",
|
||||
"subscriberIdentity": "fluxer-native-subscriber-92677",
|
||||
"required": true,
|
||||
"strict": true,
|
||||
"timeoutMs": 90000,
|
||||
"connectTimeoutMs": 30000,
|
||||
"disconnectTimeoutMs": 10000,
|
||||
"probeTimeoutMs": 1500,
|
||||
"durationMs": 15000,
|
||||
"width": 1280,
|
||||
"height": 720,
|
||||
"expectedWidth": 1280,
|
||||
"expectedHeight": 720,
|
||||
"fps": 30,
|
||||
"minFpsRatio": 0.9,
|
||||
"maxFrameGapMs": 250,
|
||||
"maxAudioFrameGapMs": 0,
|
||||
"maxAvDriftMs": 0,
|
||||
"maxPacketLoss": null,
|
||||
"requireStableResolution": true,
|
||||
"videoPattern": "fast",
|
||||
"videoInput": "nv12",
|
||||
"subscriberVideoQuality": "high",
|
||||
"screenCodecs": ["h264"],
|
||||
"expectedScreenCodecs": ["h264"],
|
||||
"codec": "h264",
|
||||
"expectedScreenCodec": "video/H264",
|
||||
"secondaryPublisher": false,
|
||||
"secondaryPublisherCodec": "h264",
|
||||
"secondaryPublisherCodecExplicit": false,
|
||||
"expectedSecondaryPublisherCodec": "video/H264",
|
||||
"expectedSecondaryPublisherCodecExplicit": false,
|
||||
"screenSimulcast": false,
|
||||
"secondaryPublisherScreenSimulcast": false,
|
||||
"adaptiveSend": true,
|
||||
"minVideoFps": 15,
|
||||
"minResolutionScale": 0.5,
|
||||
"maxAudioBufferMs": 750,
|
||||
"secondaryPublisherMicrophone": false,
|
||||
"secondaryPublisherScreenAudio": false,
|
||||
"maxBitrateBps": 400000,
|
||||
"sampleRate": 48000,
|
||||
"channels": 1,
|
||||
"audioChunkMs": 20,
|
||||
"microphone": false,
|
||||
"screenAudio": false,
|
||||
"dataPacket": false,
|
||||
"subscriptionCycle": false,
|
||||
"validateServerPublishing": true,
|
||||
"camera": false,
|
||||
"cameraDeviceId": null,
|
||||
"expectedCameraCodec": null,
|
||||
"expectedHardwareEncoder": null,
|
||||
"reportPath": "/home/hampus/Development/fluxer/fluxer_desktop/native-media-reports/cachyos-nvidia-livekit-720p-h264-20260605T204959Z.json",
|
||||
"verbose": false,
|
||||
"scenarioName": "codec-h264",
|
||||
"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": true
|
||||
},
|
||||
{
|
||||
"name": "subscriber remote screenshare subscription",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "subscriber inbound video frames >= 3",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "subscriber video frame callback",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "publisher outbound screenshare stats",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "subscriber inbound video stats",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "subscriber inbound video stats count >= 1",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "subscriber video resolution 1280x720",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "publisher outbound screenshare codec video/H264",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "subscriber inbound video codec video/H264",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "server publishing API participants listed",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "server sees publisher screenshare publication",
|
||||
"pass": true
|
||||
}
|
||||
],
|
||||
"skippedReason": null,
|
||||
"error": null,
|
||||
"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": 465,
|
||||
"strictAudioFrames": 0,
|
||||
"strictVideoFrames": 435,
|
||||
"videoCallbacks": 463,
|
||||
"videoBytes": 640051200,
|
||||
"receivedFps": 28.99,
|
||||
"requiredFps": 27,
|
||||
"maxVideoFrameGapMs": 68,
|
||||
"maxAudioFrameGapMs": 0,
|
||||
"maxVideoFrameGapOverallMs": 68,
|
||||
"maxAudioFrameGapOverallMs": 0,
|
||||
"avDriftMs": null,
|
||||
"maxObservedPacketLoss": 0,
|
||||
"maxObservedPacketLossDelta": 0,
|
||||
"videoResolutionCounts": {
|
||||
"1280x720": 435
|
||||
},
|
||||
"videoResolutionMismatchCount": 0,
|
||||
"droppedVideoFrameCallbacks": 0,
|
||||
"publisherVideoPump": {
|
||||
"input": "nv12",
|
||||
"pattern": "fast",
|
||||
"targetFps": 30,
|
||||
"startedAtMs": 1780692601312,
|
||||
"stoppedAtMs": null,
|
||||
"framesPushed": 483,
|
||||
"framesRejected": 0,
|
||||
"errors": 0,
|
||||
"maxPushGapMs": 37,
|
||||
"lastPushAtMs": 1780692617378,
|
||||
"elapsedMs": 16227,
|
||||
"producedFps": 29.77
|
||||
},
|
||||
"secondaryPublisherVideoPump": null,
|
||||
"serverPublishing": {
|
||||
"fetchedAtMs": 1780692602380,
|
||||
"error": null,
|
||||
"participants": [
|
||||
{
|
||||
"identity": "fluxer-native-publisher-92677",
|
||||
"trackCount": 1,
|
||||
"tracks": [
|
||||
{
|
||||
"sid": "TR_VStBVT57Q9oKAa",
|
||||
"name": "screen",
|
||||
"kind": "video",
|
||||
"source": "screenshare",
|
||||
"mimeType": "video/H264",
|
||||
"muted": false
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"identity": "fluxer-native-subscriber-92677",
|
||||
"trackCount": 0,
|
||||
"tracks": []
|
||||
}
|
||||
]
|
||||
},
|
||||
"lastVideoMeta": {
|
||||
"participantSid": "PA_89hNCmrznA6A",
|
||||
"trackSid": "TR_VStBVT57Q9oKAa",
|
||||
"width": 1280,
|
||||
"height": 720,
|
||||
"timestampUs": 68521962000
|
||||
},
|
||||
"publisherStats": {
|
||||
"rttMs": 4,
|
||||
"outbound": [
|
||||
{
|
||||
"trackSid": "TR_VStBVT57Q9oKAa",
|
||||
"source": "screenshare",
|
||||
"kind": "video",
|
||||
"bitrateKbps": 386.9,
|
||||
"packetsLost": 0,
|
||||
"fps": 30,
|
||||
"codec": "video/H264"
|
||||
}
|
||||
],
|
||||
"inbound": [],
|
||||
"send": {
|
||||
"outgoingVideoQueueDepth": 0,
|
||||
"outgoingVideoFramesProduced": 476,
|
||||
"outgoingVideoFramesAccepted": 476,
|
||||
"outgoingVideoFramesDropped": 16,
|
||||
"outgoingVideoFramesCoalesced": 16,
|
||||
"outgoingVideoFramesCaptured": 460,
|
||||
"outgoingVideoCaptureFailures": 0,
|
||||
"outgoingVideoEffectiveFps": 28.97,
|
||||
"outgoingVideoTargetFps": 30,
|
||||
"outgoingVideoMaxQueueAgeMs": 34,
|
||||
"outgoingVideoMaxPushLatencyMs": 34,
|
||||
"outgoingAudioBufferTargetMs": 200,
|
||||
"outgoingAudioBufferMaxMs": 750,
|
||||
"outgoingAudioUnderruns": 0,
|
||||
"outgoingAudioRebuffers": 0,
|
||||
"outgoingAudioMaxFrameGapMs": 0,
|
||||
"adaptiveSendTier": "full",
|
||||
"adaptiveSendReason": "stable"
|
||||
}
|
||||
},
|
||||
"secondaryPublisherStats": null,
|
||||
"subscriberStats": {
|
||||
"rttMs": 5,
|
||||
"outbound": [],
|
||||
"inbound": [
|
||||
{
|
||||
"participantSid": "PA_89hNCmrznA6A",
|
||||
"trackSid": "TR_VStBVT57Q9oKAa",
|
||||
"kind": "video",
|
||||
"bitrateKbps": 386.4,
|
||||
"packetsLost": 0,
|
||||
"jitterMs": 2,
|
||||
"codec": "video/H264"
|
||||
}
|
||||
],
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user