Signed-off-by: Timo K <toger5@hotmail.de>
This commit is contained in:
Timo K
2025-10-21 14:16:24 +02:00
parent e523776d06
commit e0c0923993
3 changed files with 5 additions and 6 deletions
+3 -4
View File
@@ -74,13 +74,12 @@
"matrix_id": "Matrix ID: {{id}}", "matrix_id": "Matrix ID: {{id}}",
"multi_sfu": "Multi-SFU media transport", "multi_sfu": "Multi-SFU media transport",
"mute_all_audio": "Mute all audio (participants, reactions, join sounds)", "mute_all_audio": "Mute all audio (participants, reactions, join sounds)",
"show_connection_stats": "Show connection statistics",
"prefer_sticky_events": { "prefer_sticky_events": {
"label": "Prefer sticky events", "description": "Improves reliability of calls (requires homeserver support)",
"description": "Improves reliability of calls (requires homeserver support)" "label": "Prefer sticky events"
}, },
"show_connection_stats": "Show connection statistics",
"url_params": "URL parameters", "url_params": "URL parameters",
"use_new_membership_manager": "Use the new implementation of the call MembershipManager",
"use_to_device_key_transport": "Use to device key transport. This will fallback to room key transport when another call member sent a room key" "use_to_device_key_transport": "Use to device key transport. This will fallback to room key transport when another call member sent a room key"
}, },
"disconnected_banner": "Connectivity to the server has been lost.", "disconnected_banner": "Connectivity to the server has been lost.",
+1 -1
View File
@@ -143,7 +143,7 @@ const roomHasCallMembershipEvents = (room: Room): boolean => {
// Check for *active* calls using sticky events. // Check for *active* calls using sticky events.
for (const sticky of room._unstable_getStickyEvents()) { for (const sticky of room._unstable_getStickyEvents()) {
if (sticky.getType() === EventType.GroupCallMemberPrefix) { if (sticky.getType() === EventType.RTCMembership) {
return true; return true;
} }
} }
+1 -1
View File
@@ -124,7 +124,7 @@ export async function enterRTCSession(
}, },
): Promise<void> { ): Promise<void> {
const { encryptMedia, useExperimentalToDeviceTransport = false } = options; const { encryptMedia, useExperimentalToDeviceTransport = false } = options;
const useMultiSfu = preferStickyEvents.getValue() ?? options.useMultiSfu; const useMultiSfu = preferStickyEvents.getValue() || options.useMultiSfu;
PosthogAnalytics.instance.eventCallEnded.cacheStartCall(new Date()); PosthogAnalytics.instance.eventCallEnded.cacheStartCall(new Date());
PosthogAnalytics.instance.eventCallStarted.track(rtcSession.room.roomId); PosthogAnalytics.instance.eventCallStarted.track(rtcSession.room.roomId);