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

Application limits and constraints. More...

Go to the source code of this file.

Macros

#define MAX_CONFIGURED_STUN_SERVERS   4
#define MAX_CONFIGURED_TURN_SERVERS   4
#define IP_ADDRESS_BUFFER_SIZE   64
#define PORT_STRING_BUFFER_SIZE   6
#define SESSION_ID_SIZE   16
#define MAX_SESSION_PARTICIPANTS   128
#define MAX_SESSION_KEYS   32
#define MAX_HOSTNAME_LENGTH   253
#define MAX_HOSTNAME_LABEL_LENGTH   63
#define HOSTNAME_BUFFER_SIZE   256
#define MAX_URL_LENGTH   4095
#define URL_BUFFER_SIZE   (MAX_URL_LENGTH + 1)
#define MEDIA_URL_CACHE_SIZE   2048
#define MEDIA_STREAM_URL_SIZE   8192
#define MAX_DISPLAY_NAME_LEN   32
 Maximum display name length in characters.
#define MAX_CLIENT_ID_LEN   64
 Maximum client ID length - format: "noun.N (transport:port)" e.g., "mountain.0 (tcp:48036)".
#define MAX_CLIENTS   MAX_SESSION_PARTICIPANTS
 Maximum possible clients (static array size) - actual runtime limit set by –max-clients (1-128).
#define DEFAULT_MAX_FPS   60
 Default maximum frame rate (frames per second).
#define FRAME_INTERVAL_MS   (1000 / DEFAULT_MAX_FPS)
 Frame interval in milliseconds based on default FPS (compile-time constant).
#define FRAME_BUFFER_CAPACITY   (DEFAULT_MAX_FPS / 4)
 Frame buffer capacity based on default FPS (compile-time constant).

Detailed Description

Application limits and constraints.

Definition in file common/limits.h.