ascii-chat
Binary v0.16.114-28-gf5913657f
Library lib/v0.3.2-3302-gf5913657f
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 43 of file include/ascii-chat/network/client.h.

43 {
44 PARTICIPANT_TYPE_NETWORK, // Remote participant via socket/transport
45 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,...