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

Data Fields

acip_frame_workspace_t frame_workspace
host_render_history_t * render_histories
int port
 Port to listen on.
char ipv4_address [IP_ADDRESS_BUFFER_SIZE]
 IPv4 bind address.
char ipv6_address [IP_ADDRESS_BUFFER_SIZE]
 IPv6 bind address.
int max_clients
 Maximum clients.
bool encryption_enabled
 Encryption enabled.
char key_path [512]
 Key path.
char password [PASSWORD_BUFFER_SIZE]
 Password.
session_host_callbacks_t callbacks
 Event callbacks.
void * user_data
 User data for callbacks.
struct session_display_ctx * display_context
 Display context for local frame rendering (optional, can be NULL).
session_host_render_target_t render_target
bool display_logging_disabled
uint64_t snapshot_first_frame_ns
network_server_t * network_server
 IPv4 listen socket.
bool configured_quic_listeners
quic_endpoint_t * quic_endpoint
quic_endpoint_t * webtransport_endpoint
platform_thread_t network_thread
 IPv6 listen socket.
bool network_thread_started
bool running
 Server is running.
session_host_client_t * clients
 Client array.
int client_count
 Current client count.
uint32_t next_client_id
 Next client ID counter.
mutex_t clients_mutex
 Client list mutex.
platform_thread_t render_thread
 Render thread handle (for video mixing and audio distribution).
bool render_thread_running
 Render thread is running.
session_audio_ctx_t * audio_ctx
 Audio context for mixing (host only).
bool initialized
 Context is initialized.

Detailed Description

Definition at line 155 of file host.c.

Field Documentation

◆ audio_ctx

session_audio_ctx_t* session_host::audio_ctx

Audio context for mixing (host only).

Definition at line 222 of file host.c.

◆ callbacks

session_host_callbacks_t session_host::callbacks

Event callbacks.

Definition at line 180 of file host.c.

◆ client_count

int session_host::client_count

Current client count.

Definition at line 207 of file host.c.

◆ clients

session_host_client_t* session_host::clients

Client array.

Definition at line 204 of file host.c.

◆ clients_mutex

mutex_t session_host::clients_mutex

Client list mutex.

Definition at line 213 of file host.c.

◆ configured_quic_listeners

bool session_host::configured_quic_listeners

Definition at line 193 of file host.c.

◆ display_context

struct session_display_ctx* session_host::display_context

Display context for local frame rendering (optional, can be NULL).

Definition at line 186 of file host.c.

◆ display_logging_disabled

bool session_host::display_logging_disabled

Definition at line 188 of file host.c.

◆ encryption_enabled

bool session_host::encryption_enabled

Encryption enabled.

Definition at line 171 of file host.c.

◆ frame_workspace

acip_frame_workspace_t session_host::frame_workspace

Definition at line 156 of file host.c.

◆ initialized

bool session_host::initialized

Context is initialized.

Definition at line 225 of file host.c.

◆ ipv4_address

char session_host::ipv4_address[IP_ADDRESS_BUFFER_SIZE]

IPv4 bind address.

Definition at line 162 of file host.c.

◆ ipv6_address

char session_host::ipv6_address[IP_ADDRESS_BUFFER_SIZE]

IPv6 bind address.

Definition at line 165 of file host.c.

◆ key_path

char session_host::key_path[512]

Key path.

Definition at line 174 of file host.c.

◆ max_clients

int session_host::max_clients

Maximum clients.

Definition at line 168 of file host.c.

◆ network_server

network_server_t* session_host::network_server

IPv4 listen socket.

Definition at line 192 of file host.c.

◆ network_thread

platform_thread_t session_host::network_thread

IPv6 listen socket.

Definition at line 197 of file host.c.

◆ network_thread_started

bool session_host::network_thread_started

Definition at line 198 of file host.c.

◆ next_client_id

uint32_t session_host::next_client_id

Next client ID counter.

Definition at line 210 of file host.c.

◆ password

char session_host::password[PASSWORD_BUFFER_SIZE]

Password.

Definition at line 177 of file host.c.

◆ port

int session_host::port

Port to listen on.

Definition at line 159 of file host.c.

◆ quic_endpoint

quic_endpoint_t* session_host::quic_endpoint

Definition at line 194 of file host.c.

◆ render_histories

host_render_history_t* session_host::render_histories

Definition at line 157 of file host.c.

◆ render_target

session_host_render_target_t session_host::render_target

Definition at line 187 of file host.c.

◆ render_thread

platform_thread_t session_host::render_thread

Render thread handle (for video mixing and audio distribution).

Definition at line 216 of file host.c.

◆ render_thread_running

bool session_host::render_thread_running

Render thread is running.

Definition at line 219 of file host.c.

◆ running

bool session_host::running

Server is running.

Definition at line 201 of file host.c.

◆ snapshot_first_frame_ns

uint64_t session_host::snapshot_first_frame_ns

Definition at line 189 of file host.c.

◆ user_data

void* session_host::user_data

User data for callbacks.

Definition at line 183 of file host.c.

◆ webtransport_endpoint

quic_endpoint_t * session_host::webtransport_endpoint

Definition at line 194 of file host.c.


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