TURN module (rfc5766)

ServerOptions

[Configuration]({#ref classicy_1_1Configuration #}) options for the TURN server.

ServerOptions

#include <icy/turn/server/server.h>

Configuration options for the TURN server.

Public Attributes

ReturnNameDescription
std::stringsoftware
std::stringrealm
uint32_tallocationDefaultLifetime
uint32_tallocationMaxLifetime
intallocationMaxPermissions
inttimerInterval
intearlyMediaBufferSize
net::AddresslistenAddrThe TCP and UDP bind() address.
std::stringexternalIPThe external public facing IP address of the server.
boolenableTCP
boolenableUDP
boolenableLocalIPPermissionsAuto-grant permissions for RFC 1918/loopback addresses.

software

std::string software

realm

std::string realm

allocationDefaultLifetime

uint32_t allocationDefaultLifetime

allocationMaxLifetime

uint32_t allocationMaxLifetime

allocationMaxPermissions

int allocationMaxPermissions

timerInterval

int timerInterval

earlyMediaBufferSize

int earlyMediaBufferSize

listenAddr

net::Address listenAddr

The TCP and UDP bind() address.


externalIP

std::string externalIP

The external public facing IP address of the server.


enableTCP

bool enableTCP

enableUDP

bool enableUDP

enableLocalIPPermissions

bool enableLocalIPPermissions

Auto-grant permissions for RFC 1918/loopback addresses.

Public Methods

ReturnNameDescription
ServerOptions inline

ServerOptions

inline

inline ServerOptions()