ICE configuration.
More...
#include <ice.h>
ICE configuration.
Definition at line 226 of file ice.h.
◆ IceConfig()
| librats::IceConfig::IceConfig |
( |
| ) |
|
|
default |
◆ add_stun_server()
| void librats::IceConfig::add_stun_server |
( |
const std::string & |
host, |
|
|
uint16_t |
port = STUN_DEFAULT_PORT |
|
) |
| |
|
inline |
◆ add_turn_server()
| void librats::IceConfig::add_turn_server |
( |
const std::string & |
host, |
|
|
uint16_t |
port, |
|
|
const std::string & |
username, |
|
|
const std::string & |
password |
|
) |
| |
|
inline |
Add a TURN server with credentials.
Definition at line 248 of file ice.h.
References ice_servers.
◆ check_max_retries
Max connectivity check retries.
Definition at line 233 of file ice.h.
◆ check_timeout_ms
Connectivity check timeout.
Definition at line 232 of file ice.h.
◆ gather_host_candidates
| bool librats::IceConfig::gather_host_candidates = true |
Gather host candidates.
Definition at line 228 of file ice.h.
◆ gather_relay_candidates
| bool librats::IceConfig::gather_relay_candidates = false |
Gather relay candidates (requires TURN)
Definition at line 230 of file ice.h.
◆ gather_srflx_candidates
| bool librats::IceConfig::gather_srflx_candidates = true |
Gather server-reflexive candidates.
Definition at line 229 of file ice.h.
◆ gathering_timeout_ms
| int librats::IceConfig::gathering_timeout_ms = 5000 |
Candidate gathering timeout.
Definition at line 231 of file ice.h.
◆ ice_servers
| std::vector<IceServer> librats::IceConfig::ice_servers |
◆ software
| std::string librats::IceConfig::software = "librats" |
Software attribute.
Definition at line 234 of file ice.h.
The documentation for this struct was generated from the following file: