ICE candidate.
More...
#include <ice.h>
ICE candidate.
Definition at line 96 of file ice.h.
◆ IceCandidate()
| librats::IceCandidate::IceCandidate |
( |
| ) |
|
|
inline |
◆ address_string()
| std::string librats::IceCandidate::address_string |
( |
| ) |
const |
|
inline |
◆ compute_priority()
| static uint32_t librats::IceCandidate::compute_priority |
( |
IceCandidateType |
type, |
|
|
uint32_t |
local_preference = 65535, |
|
|
uint32_t |
component_id = 1 |
|
) |
| |
|
static |
Compute candidate priority (RFC 5245 Section 4.1.2.1)
◆ from_sdp_attribute()
| static std::optional< IceCandidate > librats::IceCandidate::from_sdp_attribute |
( |
const std::string & |
sdp | ) |
|
|
static |
Parse candidate from SDP attribute string.
◆ generate_foundation()
| static std::string librats::IceCandidate::generate_foundation |
( |
IceCandidateType |
type, |
|
|
const std::string & |
base_address, |
|
|
const std::string & |
server_address = "" |
|
) |
| |
|
static |
Generate foundation string.
◆ operator==()
| bool librats::IceCandidate::operator== |
( |
const IceCandidate & |
other | ) |
const |
|
inline |
◆ to_sdp_attribute()
| std::string librats::IceCandidate::to_sdp_attribute |
( |
| ) |
const |
Format candidate as SDP attribute string (a=candidate:...)
◆ type_string()
| std::string librats::IceCandidate::type_string |
( |
| ) |
const |
Get candidate type as string.
◆ address
| std::string librats::IceCandidate::address |
◆ component_id
| uint32_t librats::IceCandidate::component_id |
Component ID (typically 1 for RTP)
Definition at line 99 of file ice.h.
◆ foundation
| std::string librats::IceCandidate::foundation |
Unique identifier for candidate.
Definition at line 98 of file ice.h.
◆ port
| uint16_t librats::IceCandidate::port |
◆ priority
| uint32_t librats::IceCandidate::priority |
Candidate priority.
Definition at line 101 of file ice.h.
◆ related_address
| std::string librats::IceCandidate::related_address |
Related address (for srflx/relay)
Definition at line 104 of file ice.h.
◆ related_port
| uint16_t librats::IceCandidate::related_port |
Related port.
Definition at line 105 of file ice.h.
◆ transport
◆ type
The documentation for this struct was generated from the following file: