ascii-chat
Binary v0.16.50-198-g78f51665f
Library lib/v0.3.2-2240-g78f51665f
Video chat in your terminal
Loading...
Searching...
No Matches
webrtc_peer_manager Struct Reference

For pending ice candidate, this is the live record that ties candidate, mid, next together. The owning code creates it, updates it while work is active, and releases its handles and pointed-to storage before freeing the record. More...

Data Fields

webrtc_peer_role_t role
 Session role.
webrtc_peer_manager_config_t config
 Manager configuration.
webrtc_signaling_callbacks_t signaling
 Signaling callbacks.
peer_entry_t * peers
 Hash table of peer connections.
mutex_t peers_mutex
 Protect peers hash table.
mutex_t signaling_mutex
 Serialize SDP and ICE updates for each peer.
pending_ice_candidate_t * pending_ice
 ICE delivered before the peer's remote SDP.
size_t pending_ice_count
thread_id_t owner_thread
 Thread responsible for delivering ready transports.

Detailed Description

For pending ice candidate, this is the live record that ties candidate, mid, next together. The owning code creates it, updates it while work is active, and releases its handles and pointed-to storage before freeing the record.

WebRTC peer manager structure

Definition at line 82 of file peer_manager.c.

Field Documentation

◆ config

webrtc_peer_manager_config_t webrtc_peer_manager::config

◆ owner_thread

thread_id_t webrtc_peer_manager::owner_thread

Thread responsible for delivering ready transports.

Definition at line 91 of file peer_manager.c.

Referenced by webrtc_peer_manager_create(), and webrtc_peer_manager_dispatch_ready().

◆ peers

◆ peers_mutex

◆ pending_ice

pending_ice_candidate_t* webrtc_peer_manager::pending_ice

ICE delivered before the peer's remote SDP.

Definition at line 89 of file peer_manager.c.

Referenced by webrtc_peer_manager_create(), and webrtc_peer_manager_destroy().

◆ pending_ice_count

size_t webrtc_peer_manager::pending_ice_count

Definition at line 90 of file peer_manager.c.

Referenced by webrtc_peer_manager_create().

◆ role

webrtc_peer_role_t webrtc_peer_manager::role

◆ signaling

webrtc_signaling_callbacks_t webrtc_peer_manager::signaling

Signaling callbacks.

Definition at line 85 of file peer_manager.c.

Referenced by webrtc_peer_manager_create().

◆ signaling_mutex

mutex_t webrtc_peer_manager::signaling_mutex

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