mirror of
https://github.com/vector-im/element-call.git
synced 2026-10-04 23:05:50 +00:00
+3
-4
@@ -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.",
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user