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

WebRTC peer connection state. More...

Data Fields

int rtc_id
 libdatachannel peer connection ID
 
webrtc_config_t config
 Configuration with callbacks.
 
webrtc_state_t state
 Current connection state.
 
webrtc_gathering_state_t gathering_state
 Current ICE gathering state.
 
uint64_t gathering_start_time_ms
 When gathering started (platform_get_time_ms)
 
webrtc_data_channel_t * dc
 Primary data channel (if created/received)
 

Detailed Description

WebRTC peer connection state.

Represents a WebRTC peer-to-peer connection using libdatachannel. Manages ICE state, connection state, and data channels.

Definition at line 34 of file lib/network/webrtc/webrtc.c.

Field Documentation

◆ config

webrtc_config_t webrtc_peer_connection::config

Configuration with callbacks.

Definition at line 36 of file lib/network/webrtc/webrtc.c.

◆ dc

webrtc_data_channel_t* webrtc_peer_connection::dc

Primary data channel (if created/received)

Definition at line 40 of file lib/network/webrtc/webrtc.c.

◆ gathering_start_time_ms

uint64_t webrtc_peer_connection::gathering_start_time_ms

When gathering started (platform_get_time_ms)

Definition at line 39 of file lib/network/webrtc/webrtc.c.

◆ gathering_state

webrtc_gathering_state_t webrtc_peer_connection::gathering_state

Current ICE gathering state.

Definition at line 38 of file lib/network/webrtc/webrtc.c.

◆ rtc_id

int webrtc_peer_connection::rtc_id

libdatachannel peer connection ID

Definition at line 35 of file lib/network/webrtc/webrtc.c.

◆ state

webrtc_state_t webrtc_peer_connection::state

Current connection state.

Definition at line 37 of file lib/network/webrtc/webrtc.c.


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