Function ice_servers

Source
pub async fn ice_servers(context: &Context) -> Result<String>
Expand description

Returns JSON with ICE servers.

https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/RTCPeerConnection#iceservers

All returned servers are resolved to their IP addresses. The primary point of DNS lookup is that Delta Chat Desktop relies on the servers being specified by IP, because it itself cannot utilize DNS. See https://github.com/deltachat/deltachat-desktop/issues/5447.