From c1378f8e0bc13e9447a1fe59fe842a620a6ce479 Mon Sep 17 00:00:00 2001
From: "J. Ryan Stinnett" { _t(
+ "Your homeserver { _t(
+ "Riot can use a fallback server {sub};
+ Modal.createTrackedDialog('No TURN servers', '', QuestionDialog, {
+ title: _t('Homeserver not configured to support calls'),
+ description: %(homeserverDomain)s is " +
+ "currently not configured to assist with calls by offering a " +
+ "TURN server, which means it is likely that voice and video " +
+ "calls will fail. Please notify your homeserver administrator " +
+ "so that they can address this.",
+ { homeserverDomain: cli.getDomain() }, { code },
+ ) }turn.matrix.org " +
+ "for the current session if you urgently need to make a call. " +
+ "Your IP address would be shared with this fallback server " +
+ "only if you agree and later place or receive a call.",
+ null, { code },
+ )}%(homeserverDomain)s is currently not configured to assist with calls by offering a TURN server, which means it is likely that voice and video calls will fail. Please notify your homeserver administrator so that they can address this.": "Your homeserver %(homeserverDomain)s is currently not configured to assist with calls by offering a TURN server, which means it is likely that voice and video calls will fail. Please notify your homeserver administrator so that they can address this.",
+ "Riot can use a fallback server turn.matrix.org for the current session if you urgently need to make a call. Your IP address would be shared with this fallback server only if you agree and later place or receive a call.": "Riot can use a fallback server turn.matrix.org for the current session if you urgently need to make a call. Your IP address would be shared with this fallback server only if you agree and later place or receive a call.",
+ "Allow Fallback": "Allow Fallback",
"Signed Out": "Signed Out",
"For security, this session has been signed out. Please sign in again.": "For security, this session has been signed out. Please sign in again.",
"Terms and Conditions": "Terms and Conditions",
From 1c6312d99950aa0a34a355e378fc43929dd66fd4 Mon Sep 17 00:00:00 2001
From: "J. Ryan Stinnett"
{ _t(
"Riot can use a fallback server turn.matrix.org " +
- "for the current session if you urgently need to make a call. " +
- "Your IP address would be shared with this fallback server " +
- "only if you agree and later place or receive a call.",
+ "if you urgently need to make a call. Your IP address would be " +
+ "shared with this fallback server only if you agree and later " +
+ "place or receive a call. You can change this permission later " +
+ "in the Voice & Video section of Settings.",
null, { code },
)}
%(homeserverDomain)s is currently not configured to assist with calls by offering a TURN server, which means it is likely that voice and video calls will fail. Please notify your homeserver administrator so that they can address this.": "Your homeserver %(homeserverDomain)s is currently not configured to assist with calls by offering a TURN server, which means it is likely that voice and video calls will fail. Please notify your homeserver administrator so that they can address this.",
- "Riot can use a fallback server turn.matrix.org for the current session if you urgently need to make a call. Your IP address would be shared with this fallback server only if you agree and later place or receive a call.": "Riot can use a fallback server turn.matrix.org for the current session if you urgently need to make a call. Your IP address would be shared with this fallback server only if you agree and later place or receive a call.",
+ "Riot can use a fallback server turn.matrix.org if you urgently need to make a call. Your IP address would be shared with this fallback server only if you agree and later place or receive a call. You can change this permission later in the Voice & Video section of Settings.": "Riot can use a fallback server turn.matrix.org if you urgently need to make a call. Your IP address would be shared with this fallback server only if you agree and later place or receive a call. You can change this permission later in the Voice & Video section of Settings.",
"Allow Fallback": "Allow Fallback",
"Signed Out": "Signed Out",
"For security, this session has been signed out. Please sign in again.": "For security, this session has been signed out. Please sign in again.",
diff --git a/src/settings/Settings.js b/src/settings/Settings.js
index 55085963d1..77e1c2cb25 100644
--- a/src/settings/Settings.js
+++ b/src/settings/Settings.js
@@ -372,4 +372,10 @@ export const SETTINGS = {
default: false,
controller: new LowBandwidthController(),
},
+ "fallbackICEServerAllowed": {
+ supportedLevels: LEVELS_DEVICE_ONLY_SETTINGS,
+ displayName: _td("Allow fallback call assist server turn.matrix.org"),
+ // This is a tri-state value, where `null` means "prompt the user".
+ default: null,
+ },
};
From d31f556c1fd982e053bb535d278acd1dbe2add24 Mon Sep 17 00:00:00 2001
From: "J. Ryan Stinnett" {sub};
+ Modal.createTrackedDialog('No TURN servers', '', QuestionDialog, {
+ title,
+ description: { _t(
+ "Your homeserver %(homeserverDomain)s is " +
+ "currently not configured to assist with calls by offering a " +
+ "TURN server, which means it is likely that voice and video " +
+ "calls will fail. Please notify your homeserver administrator " +
+ "so that they can address this.",
+ { homeserverDomain: cli.getDomain() }, { code },
+ ) }
{ _t(
+ "Riot can use a fallback server turn.matrix.org " +
+ "if you urgently need to make a call. Your IP address would be " +
+ "shared with this fallback server only if you agree and later " +
+ "place or receive a call. You can change this permission later " +
+ "in the Voice & Video section of Settings.",
+ null, { code },
+ )}
{sub};
- Modal.createTrackedDialog('No TURN servers', '', QuestionDialog, {
- title: _t('Homeserver not configured to support calls'),
- description: { _t(
- "Your homeserver %(homeserverDomain)s is " +
- "currently not configured to assist with calls by offering a " +
- "TURN server, which means it is likely that voice and video " +
- "calls will fail. Please notify your homeserver administrator " +
- "so that they can address this.",
- { homeserverDomain: cli.getDomain() }, { code },
- ) }
{ _t(
- "Riot can use a fallback server turn.matrix.org " +
- "if you urgently need to make a call. Your IP address would be " +
- "shared with this fallback server only if you agree and later " +
- "place or receive a call. You can change this permission later " +
- "in the Voice & Video section of Settings.",
- null, { code },
- )}
%(homeserverDomain)s is currently not configured to assist with calls by offering a TURN server, which means it is likely that voice and video calls will fail. Please notify your homeserver administrator so that they can address this.": "Your homeserver %(homeserverDomain)s is currently not configured to assist with calls by offering a TURN server, which means it is likely that voice and video calls will fail. Please notify your homeserver administrator so that they can address this.",
+ "Riot can use a fallback server turn.matrix.org if you urgently need to make a call. Your IP address would be shared with this fallback server only if you agree and later place or receive a call. You can change this permission later in the Voice & Video section of Settings.": "Riot can use a fallback server turn.matrix.org if you urgently need to make a call. Your IP address would be shared with this fallback server only if you agree and later place or receive a call. You can change this permission later in the Voice & Video section of Settings.",
+ "Allow Fallback": "Allow Fallback",
+ "Dismiss": "Dismiss",
"Unable to capture screen": "Unable to capture screen",
"Existing Call": "Existing Call",
"You are already in a call.": "You are already in a call.",
"VoIP is unsupported": "VoIP is unsupported",
"You cannot place VoIP calls in this browser.": "You cannot place VoIP calls in this browser.",
+ "Homeserver not configured to support calls": "Homeserver not configured to support calls",
"You cannot place a call with yourself.": "You cannot place a call with yourself.",
"Could not connect to the integration server": "Could not connect to the integration server",
"A conference call could not be started because the integrations server is not available": "A conference call could not be started because the integrations server is not available",
@@ -94,7 +99,6 @@
"Unnamed Room": "Unnamed Room",
"Error": "Error",
"Unable to load! Check your network connectivity and try again.": "Unable to load! Check your network connectivity and try again.",
- "Dismiss": "Dismiss",
"Riot does not have permission to send you notifications - please check your browser settings": "Riot does not have permission to send you notifications - please check your browser settings",
"Riot was not given permission to send notifications - please try again": "Riot was not given permission to send notifications - please try again",
"Unable to enable Notifications": "Unable to enable Notifications",
@@ -1508,10 +1512,6 @@
"Failed to leave room": "Failed to leave room",
"Can't leave Server Notices room": "Can't leave Server Notices room",
"This room is used for important messages from the Homeserver, so you cannot leave it.": "This room is used for important messages from the Homeserver, so you cannot leave it.",
- "Homeserver not configured to support calls": "Homeserver not configured to support calls",
- "Your homeserver %(homeserverDomain)s is currently not configured to assist with calls by offering a TURN server, which means it is likely that voice and video calls will fail. Please notify your homeserver administrator so that they can address this.": "Your homeserver %(homeserverDomain)s is currently not configured to assist with calls by offering a TURN server, which means it is likely that voice and video calls will fail. Please notify your homeserver administrator so that they can address this.",
- "Riot can use a fallback server turn.matrix.org if you urgently need to make a call. Your IP address would be shared with this fallback server only if you agree and later place or receive a call. You can change this permission later in the Voice & Video section of Settings.": "Riot can use a fallback server turn.matrix.org if you urgently need to make a call. Your IP address would be shared with this fallback server only if you agree and later place or receive a call. You can change this permission later in the Voice & Video section of Settings.",
- "Allow Fallback": "Allow Fallback",
"Signed Out": "Signed Out",
"For security, this session has been signed out. Please sign in again.": "For security, this session has been signed out. Please sign in again.",
"Terms and Conditions": "Terms and Conditions",
From 67b830c48dd0c3720ba365bea21f7acc6491e9f6 Mon Sep 17 00:00:00 2001
From: "J. Ryan Stinnett" {sub};
Modal.createTrackedDialog('No TURN servers', '', QuestionDialog, {
- title,
+ title: _t("Call failed due to misconfigured server"),
description: { _t(
- "Your homeserver %(homeserverDomain)s is " +
- "currently not configured to assist with calls by offering a " +
- "TURN server, which means it is likely that voice and video " +
- "calls will fail. Please notify your homeserver administrator " +
- "so that they can address this.",
+
{_t(
+ "Please ask the administrator of your homeserver " +
+ "(%(homeserverDomain)s) to configure a TURN server in " +
+ "order for calls to work reliably.",
{ homeserverDomain: cli.getDomain() }, { code },
- ) }
{ _t(
- "Riot can use a fallback server turn.matrix.org " +
- "if you urgently need to make a call. Your IP address would be " +
- "shared with this fallback server only if you agree and later " +
- "place or receive a call. You can change this permission later " +
- "in the Voice & Video section of Settings.",
+ )}
{_t(
+ "Alternatively, you can try to use the public server at " +
+ "turn.matrix.org, but this will not be as reliable, and " +
+ "it will share your IP address with that server. You can also manage " +
+ "this in Settings.",
null, { code },
)}
%(homeserverDomain)s is currently not configured to assist with calls by offering a TURN server, which means it is likely that voice and video calls will fail. Please notify your homeserver administrator so that they can address this.": "Your homeserver %(homeserverDomain)s is currently not configured to assist with calls by offering a TURN server, which means it is likely that voice and video calls will fail. Please notify your homeserver administrator so that they can address this.",
- "Riot can use a fallback server turn.matrix.org if you urgently need to make a call. Your IP address would be shared with this fallback server only if you agree and later place or receive a call. You can change this permission later in the Voice & Video section of Settings.": "Riot can use a fallback server turn.matrix.org if you urgently need to make a call. Your IP address would be shared with this fallback server only if you agree and later place or receive a call. You can change this permission later in the Voice & Video section of Settings.",
- "Allow Fallback": "Allow Fallback",
- "Dismiss": "Dismiss",
+ "Call failed due to misconfigured server": "Call failed due to misconfigured server",
+ "Please ask the administrator of your homeserver (%(homeserverDomain)s) to configure a TURN server in order for calls to work reliably.": "Please ask the administrator of your homeserver (%(homeserverDomain)s) to configure a TURN server in order for calls to work reliably.",
+ "Alternatively, you can try to use the public server at turn.matrix.org, but this will not be as reliable, and it will share your IP address with that server. You can also manage this in Settings.": "Alternatively, you can try to use the public server at turn.matrix.org, but this will not be as reliable, and it will share your IP address with that server. You can also manage this in Settings.",
+ "Try using turn.matrix.org": "Try using turn.matrix.org",
+ "OK": "OK",
"Unable to capture screen": "Unable to capture screen",
"Existing Call": "Existing Call",
"You are already in a call.": "You are already in a call.",
"VoIP is unsupported": "VoIP is unsupported",
"You cannot place VoIP calls in this browser.": "You cannot place VoIP calls in this browser.",
- "Homeserver not configured to support calls": "Homeserver not configured to support calls",
"You cannot place a call with yourself.": "You cannot place a call with yourself.",
"Could not connect to the integration server": "Could not connect to the integration server",
"A conference call could not be started because the integrations server is not available": "A conference call could not be started because the integrations server is not available",
@@ -99,6 +99,7 @@
"Unnamed Room": "Unnamed Room",
"Error": "Error",
"Unable to load! Check your network connectivity and try again.": "Unable to load! Check your network connectivity and try again.",
+ "Dismiss": "Dismiss",
"Riot does not have permission to send you notifications - please check your browser settings": "Riot does not have permission to send you notifications - please check your browser settings",
"Riot was not given permission to send notifications - please try again": "Riot was not given permission to send notifications - please try again",
"Unable to enable Notifications": "Unable to enable Notifications",
@@ -383,7 +384,6 @@
"Decline": "Decline",
"Accept": "Accept",
"The other party cancelled the verification.": "The other party cancelled the verification.",
- "OK": "OK",
"Verified!": "Verified!",
"You've successfully verified this user.": "You've successfully verified this user.",
"Secure messages with this user are end-to-end encrypted and not able to be read by third parties.": "Secure messages with this user are end-to-end encrypted and not able to be read by third parties.",