Skip to content

Commit

Permalink
Enable ICE consent freshness with libnice
Browse files Browse the repository at this point in the history
  • Loading branch information
paullouisageneau committed Oct 1, 2024
1 parent c1c63ae commit b41d9a3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/impl/icetransport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -444,6 +444,9 @@ IceTransport::IceTransport(const Configuration &config, candidate_callback candi
// See https://gitlab.freedesktop.org/libnice/libnice/-/merge_requests/125
NiceAgentOption flags = NICE_AGENT_OPTION_REGULAR_NOMINATION;

// Enable RFC 7675 ICE consent freshness support (requires libnice 0.1.19)
flags |= NICE_AGENT_OPTION_CONSENT_FRESHNESS;

// Create agent
mNiceAgent = decltype(mNiceAgent)(
nice_agent_new_full(
Expand Down

0 comments on commit b41d9a3

Please sign in to comment.