ascii-chat
Binary v0.15.83-53-gb711d8720
Library lib/v0.3.2-701-gb711d8720
Video chat in your terminal
Loading...
Searching...
No Matches
ice_config_t Struct Reference

Credentials and callback used while gathering ICE candidates. More...

#include <include/ascii-chat/network/webrtc/ice.h>

Data Fields

const char * ufrag
 Username fragment for ICE (from offer).
const char * pwd
 Password for ICE (from offer).
ice_send_candidate_callback_t send_callback
 Called for each gathered candidate.
void * user_data
 Passed to callback.

Detailed Description

Credentials and callback used while gathering ICE candidates.

The ICE agent borrows the offer's username fragment and password, then calls send_callback for each candidate it discovers. The opaque user_data is passed back unchanged to the callback.

Definition at line 171 of file ice.h.

Field Documentation

◆ pwd

const char* ice_config_t::pwd

Password for ICE (from offer).

Definition at line 173 of file ice.h.

Referenced by ice_gather_candidates().

◆ send_callback

ice_send_candidate_callback_t ice_config_t::send_callback

Called for each gathered candidate.

Definition at line 174 of file ice.h.

Referenced by ice_gather_candidates().

◆ ufrag

const char* ice_config_t::ufrag

Username fragment for ICE (from offer).

Definition at line 172 of file ice.h.

Referenced by ice_gather_candidates().

◆ user_data

void* ice_config_t::user_data

Passed to callback.

Definition at line 175 of file ice.h.


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