Skip to main content

Module turn

Module turn 

Source
Expand description

Configures TURN relay credentials and servers.

Shared secrets generate credentials, with static credentials and external credential providers available as alternatives. URI, lifetime, and guest-access settings govern client use.

Re-exportsยง

use serde::Deserialize; ๐Ÿ”’
use serde::Deserialize; ๐Ÿ”’
use smallstr::SmallString; ๐Ÿ”’
use tuwunel_macros::config_example_generator; ๐Ÿ”’
use url::Url; ๐Ÿ”’
use super::PathBuf; ๐Ÿ”’
use crate::implement; ๐Ÿ”’

Structsยง

Cloudflare
Cloudflare Realtime TURN
Endpoint
TURN credentials from an HTTP endpoint
Turn
TURN relay for calls

Enumsยง

Provider
External source of TURN credentials, when one is configured.

Constantsยง

TUWUNEL_CONFIG_SECTION_CLOUDFLARE ๐Ÿ”’
TUWUNEL_CONFIG_SECTION_ENDPOINT ๐Ÿ”’
TUWUNEL_CONFIG_SECTION_TURN ๐Ÿ”’

Functionsยง

default_ttl ๐Ÿ”’

Type Aliasesยง

KeyId ๐Ÿ”’