ascii-chat
Binary v0.15.83-53-gb711d8720
Library lib/v0.3.2-701-gb711d8720
Video chat in your terminal
Loading...
Searching...
No Matches
client.h File Reference

Go to the source code of this file.

Data Structures

struct  client_info

Typedefs

typedef struct client_info client_info_t

Enumerations

enum  participant_type_t { PARTICIPANT_TYPE_NETWORK , PARTICIPANT_TYPE_MEMORY }
 For client info, this is the live record that ties participant_type, network_connection, event_ready, event_cleanup 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...

Enumeration Type Documentation

◆ participant_type_t

For client info, this is the live record that ties participant_type, network_connection, event_ready, event_cleanup together. The owning code creates it, updates it while work is active, and releases its handles and pointed-to storage before freeing the record.

Server media state. The network runtime owns establishment, security, packet execution, and transport teardown. This state owns media buffers, capabilities, and the render workers joined by the connection closing hook.

Participant type for distinguishing network vs memory participants

Network participants communicate over TCP/IP or WebRTC, while memory participants inject media directly into the host's mixer (used when the host participates in the session with their own webcam/audio).

Enumerator
PARTICIPANT_TYPE_NETWORK 
PARTICIPANT_TYPE_MEMORY 

Definition at line 35 of file include/ascii-chat/network/client.h.

35 {
36 PARTICIPANT_TYPE_NETWORK, // Remote participant via socket/transport
37 PARTICIPANT_TYPE_MEMORY // Local host participant (direct memory access)
participant_type_t
For client info, this is the live record that ties participant_type, network_connection,...