Expand description
The Sans-I/O ICE agent: candidate pairing, connectivity checks, and nomination. The Sans-I/O ICE agent.
An Agent is given local and remote candidates and inbound datagrams; it produces the
connectivity checks to send, the state transitions to report, and eventually a selected
candidate pair. It owns no sockets and no clock — the caller drives time with
handle_timeout.
Two roles exist: the controlling agent nominates the pair that will carry media, the
controlled agent accepts that choice. Which side controls is decided by which offered, and the
two must not agree — see Credentials and Agent::set_role.
Modules§
- agent_
config - Configuration for a new
Agent: servers, timeouts and role. - agent_
selector - Pair selection and nomination — which candidate pair becomes the selected one.
- agent_
stats - Snapshot statistics for an agent’s candidates and pairs.
Structs§
- Agent
- Represents the ICE agent.
- Credentials
- The ICE credentials for one side of a session, exchanged in SDP.
Enums§
- Event
- What the agent reports to its caller.