mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-10-01 06:52:30 +00:00
Clarify the managed TURN provider label
This commit is contained in:
@@ -135,7 +135,7 @@ imported room with the local provider token or overwriting the saved profile.
|
|||||||
|
|
||||||
## Cloudflare integration
|
## Cloudflare integration
|
||||||
|
|
||||||
The UI presents `Manual` and `Cloudflare`, with `TURN Key ID` and a masked
|
The UI presents `Manual` and `Managed (Cloudflare)`, with `TURN Key ID` and a masked
|
||||||
`TURN Key API Token` input for Cloudflare. It requires no account ID, custom
|
`TURN Key API Token` input for Cloudflare. It requires no account ID, custom
|
||||||
endpoint, SDK, credential broker, or renewal interval setting.
|
endpoint, SDK, credential broker, or renewal interval setting.
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -47,7 +47,7 @@ WebRTC encrypts data between the devices, including when it passes through TURN.
|
|||||||
## TURN credentials
|
## TURN credentials
|
||||||
|
|
||||||
In **TURN configuration**, select **Manual** to enter your own TURN server URLs,
|
In **TURN configuration**, select **Manual** to enter your own TURN server URLs,
|
||||||
username, and credential, or select **Cloudflare** to enter a **TURN Key ID** and
|
username, and credential, or select **Managed (Cloudflare)** to enter a **TURN Key ID** and
|
||||||
**TURN Key API Token**. Cloudflare is optional; the project does not require a
|
**TURN Key API Token**. Cloudflare is optional; the project does not require a
|
||||||
particular TURN provider or operate a credential broker. See Cloudflare's
|
particular TURN provider or operate a credential broker. See Cloudflare's
|
||||||
[credential instructions](https://developers.cloudflare.com/realtime/turn/generate-credentials/)
|
[credential instructions](https://developers.cloudflare.com/realtime/turn/generate-credentials/)
|
||||||
|
|||||||
+2
-2
@@ -489,7 +489,7 @@ When enabled, this device notifies connected peers after a local change. The not
|
|||||||
|
|
||||||
Setting key: P2P_managedType
|
Setting key: P2P_managedType
|
||||||
|
|
||||||
Select **Manual** for the existing TURN server fields, or **Cloudflare** for a
|
Select **Manual** for the existing TURN server fields, or **Managed (Cloudflare)** for a
|
||||||
TURN Key ID and TURN Key API Token. The API token is persisted with the profile
|
TURN Key ID and TURN Key API Token. The API token is persisted with the profile
|
||||||
and included in Setup URI and QR code sharing. Issued temporary credentials are
|
and included in Setup URI and QR code sharing. Issued temporary credentials are
|
||||||
kept in memory only. Reports redact the provider settings. See
|
kept in memory only. Reports redact the provider settings. See
|
||||||
@@ -500,7 +500,7 @@ behaviour.
|
|||||||
|
|
||||||
Setting keys: P2P_managedId, P2P_managedToken
|
Setting keys: P2P_managedId, P2P_managedToken
|
||||||
|
|
||||||
These fields appear when **Cloudflare** is selected. Enter the TURN key's ID and
|
These fields appear when **Managed (Cloudflare)** is selected. Enter the TURN key's ID and
|
||||||
its dedicated API token. The token field is masked. No account ID, custom
|
its dedicated API token. The token field is masked. No account ID, custom
|
||||||
endpoint, or renewal interval is required.
|
endpoint, or renewal interval is required.
|
||||||
|
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ export const liveSyncProvisionalEnglishMessages = {
|
|||||||
"Configure TURN when a direct connection cannot be established or when you select TURN relay only.",
|
"Configure TURN when a direct connection cannot be established or when you select TURN relay only.",
|
||||||
"TURN configuration": "TURN configuration",
|
"TURN configuration": "TURN configuration",
|
||||||
Manual: "Manual",
|
Manual: "Manual",
|
||||||
Cloudflare: "Cloudflare",
|
"Managed (Cloudflare)": "Managed (Cloudflare)",
|
||||||
"TURN Key ID": "TURN Key ID",
|
"TURN Key ID": "TURN Key ID",
|
||||||
"TURN Key API Token": "TURN Key API Token",
|
"TURN Key API Token": "TURN Key API Token",
|
||||||
"Unsupported TURN configuration": "Unsupported TURN configuration",
|
"Unsupported TURN configuration": "Unsupported TURN configuration",
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
<span>{translate("TURN configuration")}</span>
|
<span>{translate("TURN configuration")}</span>
|
||||||
<select aria-label={translate("TURN configuration")} name="p2p-turn-source" value={managedType} onchange={(event) => selectProvider(event.currentTarget.value)}>
|
<select aria-label={translate("TURN configuration")} name="p2p-turn-source" value={managedType} onchange={(event) => selectProvider(event.currentTarget.value)}>
|
||||||
<option value="">{translate("Manual")}</option>
|
<option value="">{translate("Manual")}</option>
|
||||||
<option value={CLOUDFLARE_TURN_TYPE}>{translate("Cloudflare")}</option>
|
<option value={CLOUDFLARE_TURN_TYPE}>{translate("Managed (Cloudflare)")}</option>
|
||||||
{#if managedType !== "" && managedType !== CLOUDFLARE_TURN_TYPE}
|
{#if managedType !== "" && managedType !== CLOUDFLARE_TURN_TYPE}
|
||||||
<option value={managedType} disabled>{translate("Unsupported TURN configuration")}</option>
|
<option value={managedType} disabled>{translate("Unsupported TURN configuration")}</option>
|
||||||
{/if}
|
{/if}
|
||||||
|
|||||||
Reference in New Issue
Block a user