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.
89 lines
2.0 KiB
JSON
89 lines
2.0 KiB
JSON
{
|
|
"name": "watched streams drive subscription commands",
|
|
"events": [
|
|
{"type": "connection.connectRequested", "options": {"url": "wss://voice", "token": "token"}},
|
|
{"type": "connection.connectSucceeded", "operationId": 1},
|
|
{
|
|
"type": "watchedStream.watchRequested",
|
|
"stream": {
|
|
"participantIdentity": "alice",
|
|
"source": "screen",
|
|
"trackSid": null,
|
|
"quality": "high",
|
|
"enabled": true
|
|
}
|
|
},
|
|
{
|
|
"type": "room.trackPublished",
|
|
"track": {
|
|
"participantIdentity": "alice",
|
|
"participantSid": "PA_alice",
|
|
"trackSid": "TR_screen",
|
|
"trackName": "screen",
|
|
"kind": "video",
|
|
"source": "screen",
|
|
"muted": false
|
|
}
|
|
},
|
|
{
|
|
"type": "watchedStream.watchRequested",
|
|
"stream": {
|
|
"participantIdentity": "alice",
|
|
"source": "screen",
|
|
"trackSid": "TR_screen",
|
|
"quality": "low",
|
|
"enabled": true
|
|
}
|
|
},
|
|
{"type": "watchedStream.unwatchRequested", "stream": {"participantIdentity": "alice", "source": "screen"}}
|
|
],
|
|
"expected": {
|
|
"watchedStreams": [],
|
|
"remoteTrackSubscriptions": {
|
|
"alice:screen": {
|
|
"participantIdentity": "alice",
|
|
"source": "screen",
|
|
"subscribed": false,
|
|
"enabled": false,
|
|
"quality": "low"
|
|
}
|
|
},
|
|
"commands": [
|
|
{"type": "connection.connect", "operationId": 1, "options": {"url": "wss://voice", "token": "token"}},
|
|
{
|
|
"type": "remoteTrackSubscription.set",
|
|
"operationId": 2,
|
|
"options": {
|
|
"participantIdentity": "alice",
|
|
"source": "screen",
|
|
"subscribed": true,
|
|
"enabled": true,
|
|
"quality": "high"
|
|
}
|
|
},
|
|
{
|
|
"type": "remoteTrackSubscription.set",
|
|
"operationId": 3,
|
|
"options": {
|
|
"participantIdentity": "alice",
|
|
"source": "screen",
|
|
"subscribed": true,
|
|
"enabled": true,
|
|
"quality": "low"
|
|
}
|
|
},
|
|
{
|
|
"type": "remoteTrackSubscription.set",
|
|
"operationId": 4,
|
|
"options": {
|
|
"participantIdentity": "alice",
|
|
"source": "screen",
|
|
"subscribed": false,
|
|
"enabled": false,
|
|
"quality": "low"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|