Back to Site
Loading...
Searching...
No Matches
librats::IceCandidatePair Struct Reference

ICE candidate pair. More...

#include <ice.h>

Collaboration diagram for librats::IceCandidatePair:
[legend]

Public Member Functions

 IceCandidatePair ()
 
std::string key () const
 Get pair key for deduplication.
 

Static Public Member Functions

static uint64_t compute_priority (uint32_t controlling_priority, uint32_t controlled_priority, bool is_controlling)
 Compute pair priority (RFC 5245 Section 5.7.2)
 

Public Attributes

IceCandidate local
 
IceCandidate remote
 
IceCandidatePairState state
 
uint64_t priority
 Pair priority.
 
bool nominated
 Nominated for use.
 
int check_count
 Number of checks performed.
 
std::chrono::steady_clock::time_point last_check
 

Detailed Description

ICE candidate pair.

Definition at line 167 of file ice.h.

Constructor & Destructor Documentation

◆ IceCandidatePair()

librats::IceCandidatePair::IceCandidatePair ( )
inline

Definition at line 176 of file ice.h.

Member Function Documentation

◆ compute_priority()

static uint64_t librats::IceCandidatePair::compute_priority ( uint32_t  controlling_priority,
uint32_t  controlled_priority,
bool  is_controlling 
)
static

Compute pair priority (RFC 5245 Section 5.7.2)

◆ key()

std::string librats::IceCandidatePair::key ( ) const
inline

Get pair key for deduplication.

Definition at line 189 of file ice.h.

References librats::IceCandidate::address_string(), local, and remote.

Member Data Documentation

◆ check_count

int librats::IceCandidatePair::check_count

Number of checks performed.

Definition at line 173 of file ice.h.

◆ last_check

std::chrono::steady_clock::time_point librats::IceCandidatePair::last_check

Definition at line 174 of file ice.h.

◆ local

IceCandidate librats::IceCandidatePair::local

Definition at line 168 of file ice.h.

Referenced by key().

◆ nominated

bool librats::IceCandidatePair::nominated

Nominated for use.

Definition at line 172 of file ice.h.

◆ priority

uint64_t librats::IceCandidatePair::priority

Pair priority.

Definition at line 171 of file ice.h.

◆ remote

IceCandidate librats::IceCandidatePair::remote

Definition at line 169 of file ice.h.

Referenced by key().

◆ state

IceCandidatePairState librats::IceCandidatePair::state

Definition at line 170 of file ice.h.


The documentation for this struct was generated from the following file: