ascii-chat 0.11.33
Video chat in your terminal
Loading...
Searching...
No Matches
peer_entry_t Struct Reference

Per-peer connection state. More...

Data Fields

uint8_t participant_id [16]
 Remote participant UUID (hash key)
 
uint8_t session_id [16]
 Session UUID.
 
webrtc_peer_connection_t * pc
 WebRTC peer connection.
 
webrtc_data_channel_t * dc
 WebRTC data channel.
 
bool is_connected
 DataChannel opened.
 
bool remote_sdp_attempted
 A remote description was applied or attempted.
 
bool remote_description_set
 libdatachannel has installed the remote SDP and ICE transport
 
char remote_ice_ufrag [257]
 ICE generation currently installed on this peer.
 
bool gathering_timeout_reported
 ICE gathering timed out while trickle candidates may still connect.
 
struct webrtc_peer_manager * manager
 Back-reference to manager.
 
UT_hash_handle hh
 uthash handle
 

Detailed Description

Per-peer connection state.

Definition at line 26 of file peer_manager.c.

Field Documentation

◆ dc

webrtc_data_channel_t* peer_entry_t::dc

WebRTC data channel.

Definition at line 30 of file peer_manager.c.

◆ gathering_timeout_reported

bool peer_entry_t::gathering_timeout_reported

ICE gathering timed out while trickle candidates may still connect.

Definition at line 35 of file peer_manager.c.

Referenced by webrtc_peer_manager_check_gathering_timeouts().

◆ hh

UT_hash_handle peer_entry_t::hh

uthash handle

Definition at line 37 of file peer_manager.c.

◆ is_connected

bool peer_entry_t::is_connected

DataChannel opened.

Definition at line 31 of file peer_manager.c.

◆ manager

struct webrtc_peer_manager* peer_entry_t::manager

Back-reference to manager.

Definition at line 36 of file peer_manager.c.

◆ participant_id

uint8_t peer_entry_t::participant_id[16]

Remote participant UUID (hash key)

Definition at line 27 of file peer_manager.c.

Referenced by webrtc_peer_manager_check_gathering_timeouts(), and webrtc_peer_manager_handle_sdp().

◆ pc

◆ remote_description_set

bool peer_entry_t::remote_description_set

libdatachannel has installed the remote SDP and ICE transport

Definition at line 33 of file peer_manager.c.

Referenced by webrtc_peer_manager_handle_ice(), and webrtc_peer_manager_handle_sdp().

◆ remote_ice_ufrag

char peer_entry_t::remote_ice_ufrag[257]

ICE generation currently installed on this peer.

Definition at line 34 of file peer_manager.c.

Referenced by webrtc_peer_manager_handle_sdp().

◆ remote_sdp_attempted

bool peer_entry_t::remote_sdp_attempted

A remote description was applied or attempted.

Definition at line 32 of file peer_manager.c.

Referenced by webrtc_peer_manager_handle_sdp().

◆ session_id

uint8_t peer_entry_t::session_id[16]

Session UUID.

Definition at line 28 of file peer_manager.c.


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