Skip to main content

turn_config

Function turn_config 

Source
pub fn turn_config() -> Option<TurnConfig>
Expand description

Resolve TURN server config: an explicit runtime env var wins, then the build-time-baked default. Returns None when neither is present (including empty), so callers can fall through to a runtime API fetch from mecha10-api.