Skip to main content

run_ice

Function run_ice 

Source
pub async fn run_ice(state: AppState)
Expand description

Periodically program MediaMTX’s WebRTC ICE servers for remote viewing — the operator’s own HELDAR_WEBRTC_ICE_SERVERS, else short-lived TURN fetched from the rendezvous, else STUN. Parks when remote viewing is not configured (neither ICE config nor a rendezvous URL set).