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

WebRTC transport implementation data. More...

Data Fields

webrtc_peer_connection_t * peer_conn
 Borrowed peer connection.
 
webrtc_data_channel_t * data_channel
 Borrowed data channel.
 
ringbuffer_t * recv_queue
 Receive message queue.
 
uint8_t * partial
 Incomplete ACIP packet bytes.
 
size_t partial_len
 
size_t partial_capacity
 
mutex_t queue_mutex
 Protect queue operations.
 
cond_t queue_cond
 Signal when messages arrive.
 
bool is_connected
 Connection state.
 
bool data_channel_closed
 DataChannel close is terminal for this transport.
 
bool close_requested
 Whether this transport has closed its borrowed peer handles.
 
uint64_t disconnected_since_ns
 Start of the current transient ICE disconnect.
 
mutex_t state_mutex
 Protect state changes.
 
mutex_t send_mutex
 Keep chunks from concurrent packets together.
 

Detailed Description

WebRTC transport implementation data.

Definition at line 75 of file webrtc/transport.c.

Field Documentation

◆ close_requested

bool webrtc_transport_data_t::close_requested

Whether this transport has closed its borrowed peer handles.

Definition at line 86 of file webrtc/transport.c.

◆ data_channel

webrtc_data_channel_t* webrtc_transport_data_t::data_channel

Borrowed data channel.

Definition at line 77 of file webrtc/transport.c.

Referenced by acip_webrtc_transport_create().

◆ data_channel_closed

bool webrtc_transport_data_t::data_channel_closed

DataChannel close is terminal for this transport.

Definition at line 85 of file webrtc/transport.c.

◆ disconnected_since_ns

uint64_t webrtc_transport_data_t::disconnected_since_ns

Start of the current transient ICE disconnect.

Definition at line 87 of file webrtc/transport.c.

◆ is_connected

bool webrtc_transport_data_t::is_connected

Connection state.

Definition at line 84 of file webrtc/transport.c.

Referenced by acip_webrtc_transport_create().

◆ partial

uint8_t* webrtc_transport_data_t::partial

Incomplete ACIP packet bytes.

Definition at line 79 of file webrtc/transport.c.

◆ partial_capacity

size_t webrtc_transport_data_t::partial_capacity

Definition at line 81 of file webrtc/transport.c.

◆ partial_len

size_t webrtc_transport_data_t::partial_len

Definition at line 80 of file webrtc/transport.c.

◆ peer_conn

webrtc_peer_connection_t* webrtc_transport_data_t::peer_conn

Borrowed peer connection.

Definition at line 76 of file webrtc/transport.c.

Referenced by acip_webrtc_transport_create().

◆ queue_cond

cond_t webrtc_transport_data_t::queue_cond

Signal when messages arrive.

Definition at line 83 of file webrtc/transport.c.

Referenced by acip_webrtc_transport_create().

◆ queue_mutex

mutex_t webrtc_transport_data_t::queue_mutex

Protect queue operations.

Definition at line 82 of file webrtc/transport.c.

Referenced by acip_webrtc_transport_create().

◆ recv_queue

ringbuffer_t* webrtc_transport_data_t::recv_queue

Receive message queue.

Definition at line 78 of file webrtc/transport.c.

Referenced by acip_webrtc_transport_create().

◆ send_mutex

mutex_t webrtc_transport_data_t::send_mutex

Keep chunks from concurrent packets together.

Definition at line 89 of file webrtc/transport.c.

Referenced by acip_webrtc_transport_create().

◆ state_mutex

mutex_t webrtc_transport_data_t::state_mutex

Protect state changes.

Definition at line 88 of file webrtc/transport.c.

Referenced by acip_webrtc_transport_create().


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