ascii-chat 0.6.0
Real-time terminal-based video chat with ASCII art conversion
Loading...
Searching...
No Matches
webrtc_config_t Struct Reference

WebRTC configuration. More...

#include <lib/network/webrtc/webrtc.h>

Data Fields

stun_server_tstun_servers
 Array of STUN servers.
 
size_t stun_count
 Number of STUN servers.
 
turn_server_tturn_servers
 Array of TURN servers.
 
size_t turn_count
 Number of TURN servers.
 
webrtc_state_callback_t on_state_change
 
webrtc_local_description_callback_t on_local_description
 
webrtc_local_candidate_callback_t on_local_candidate
 
webrtc_datachannel_open_callback_t on_datachannel_open
 
webrtc_datachannel_message_callback_t on_datachannel_message
 
webrtc_datachannel_error_callback_t on_datachannel_error
 
void * user_data
 Passed to all callbacks.
 

Detailed Description

WebRTC configuration.

Definition at line 119 of file lib/network/webrtc/webrtc.h.

Field Documentation

◆ on_datachannel_error

webrtc_datachannel_error_callback_t webrtc_config_t::on_datachannel_error

Definition at line 131 of file lib/network/webrtc/webrtc.h.

◆ on_datachannel_message

webrtc_datachannel_message_callback_t webrtc_config_t::on_datachannel_message

Definition at line 130 of file lib/network/webrtc/webrtc.h.

◆ on_datachannel_open

webrtc_datachannel_open_callback_t webrtc_config_t::on_datachannel_open

Definition at line 129 of file lib/network/webrtc/webrtc.h.

◆ on_local_candidate

webrtc_local_candidate_callback_t webrtc_config_t::on_local_candidate

Definition at line 128 of file lib/network/webrtc/webrtc.h.

◆ on_local_description

webrtc_local_description_callback_t webrtc_config_t::on_local_description

Definition at line 127 of file lib/network/webrtc/webrtc.h.

◆ on_state_change

webrtc_state_callback_t webrtc_config_t::on_state_change

Definition at line 126 of file lib/network/webrtc/webrtc.h.

◆ stun_count

size_t webrtc_config_t::stun_count

Number of STUN servers.

Definition at line 121 of file lib/network/webrtc/webrtc.h.

Referenced by webrtc_create_peer_connection().

◆ stun_servers

stun_server_t* webrtc_config_t::stun_servers

Array of STUN servers.

Definition at line 120 of file lib/network/webrtc/webrtc.h.

Referenced by webrtc_create_peer_connection().

◆ turn_count

size_t webrtc_config_t::turn_count

Number of TURN servers.

Definition at line 123 of file lib/network/webrtc/webrtc.h.

Referenced by webrtc_create_peer_connection().

◆ turn_servers

turn_server_t* webrtc_config_t::turn_servers

Array of TURN servers.

Definition at line 122 of file lib/network/webrtc/webrtc.h.

Referenced by webrtc_create_peer_connection().

◆ user_data

void* webrtc_config_t::user_data

Passed to all callbacks.

Definition at line 133 of file lib/network/webrtc/webrtc.h.

Referenced by webrtc_get_user_data().


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