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

Session creation request parameters. More...

#include <include/ascii-chat/network/acip/acds_client.h>

Data Fields

uint8_t identity_pubkey [32]
 Ed25519 public key (host identity)
 
uint8_t identity_seckey [64]
 Ed25519 secret key (for signing)
 
uint8_t capabilities
 Bit 0: video, Bit 1: audio.
 
uint8_t max_participants
 Maximum participants (1-8)
 
bool has_password
 Password protection enabled.
 
char password [128]
 Optional password (if has_password)
 
bool acds_expose_ip
 Explicitly allow public IP disclosure (–acds-expose-ip opt-in)
 
uint8_t session_type
 acds_session_type_t: 0=DIRECT_TCP (default), 1=WEBRTC
 
const char * reserved_string
 Optional reserved string (NULL = auto-generate)
 
char server_address [64]
 Server address where clients should connect.
 
uint16_t server_port
 Server port where clients should connect.
 

Detailed Description

Session creation request parameters.

Definition at line 163 of file acds_client.h.

Field Documentation

◆ acds_expose_ip

bool acds_session_create_params_t::acds_expose_ip

Explicitly allow public IP disclosure (–acds-expose-ip opt-in)

Definition at line 170 of file acds_client.h.

Referenced by acds_session_create().

◆ capabilities

uint8_t acds_session_create_params_t::capabilities

Bit 0: video, Bit 1: audio.

Definition at line 166 of file acds_client.h.

Referenced by acds_session_create().

◆ has_password

bool acds_session_create_params_t::has_password

Password protection enabled.

Definition at line 168 of file acds_client.h.

Referenced by acds_session_create().

◆ identity_pubkey

uint8_t acds_session_create_params_t::identity_pubkey[32]

Ed25519 public key (host identity)

Definition at line 164 of file acds_client.h.

Referenced by acds_session_create().

◆ identity_seckey

uint8_t acds_session_create_params_t::identity_seckey[64]

Ed25519 secret key (for signing)

Definition at line 165 of file acds_client.h.

Referenced by acds_session_create().

◆ max_participants

uint8_t acds_session_create_params_t::max_participants

Maximum participants (1-8)

Definition at line 167 of file acds_client.h.

Referenced by acds_session_create().

◆ password

char acds_session_create_params_t::password[128]

Optional password (if has_password)

Definition at line 169 of file acds_client.h.

Referenced by acds_session_create().

◆ reserved_string

const char* acds_session_create_params_t::reserved_string

Optional reserved string (NULL = auto-generate)

Definition at line 172 of file acds_client.h.

Referenced by acds_session_create().

◆ server_address

char acds_session_create_params_t::server_address[64]

Server address where clients should connect.

Definition at line 173 of file acds_client.h.

Referenced by acds_session_create().

◆ server_port

uint16_t acds_session_create_params_t::server_port

Server port where clients should connect.

Definition at line 174 of file acds_client.h.

Referenced by acds_session_create().

◆ session_type

uint8_t acds_session_create_params_t::session_type

acds_session_type_t: 0=DIRECT_TCP (default), 1=WEBRTC

Definition at line 171 of file acds_client.h.

Referenced by acds_session_create().


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