Skip to main content

Module server

Module server 

Source
Expand description

RTMP server listener

Mirrors src/server/server.h and src/server/server.c.

Structs§

Server
Server object.

Constants§

DEFAULT_MAX_CONNECTIONS_PER_ADDR
Default max simultaneous connections accepted per remote address when ServerConfig::max_connections_per_addr is 0 (unset). Prevents one peer from monopolizing the global connection table on plaintext listeners. Deployments where many clients share one source IP (NAT/load balancer/proxy) can raise this via ServerConfig::max_connections_per_addr.
DEFAULT_MAX_PENDING_TLS_PER_ADDR
Default max incomplete TLS handshakes retained per remote address, used when ServerConfig::max_pending_tls_per_addr is 0 (unset). Prevents one peer from monopolizing the global pending queue. Deployments where many clients share one source IP (NAT/load balancer/proxy) can raise this via ServerConfig::max_pending_tls_per_addr.
DEFAULT_MAX_RELAY_SENDS_PER_POLL
Default cap on relay sends issued while fanning publisher media out to players in one process_connections pass. Integrators can tune the active value through Server::max_relay_sends_per_poll.