TURN module (rfc5766)

UDPClient

UDP transport TURN client for datagram-based relay allocations.

UDPClient

#include <icy/turn/client/udpclient.h>

Inherits: Client

UDP transport TURN client for datagram-based relay allocations. Uses a single UDP socket for both STUN signalling and Send/Data Indications. All Client methods apply; data is relayed via sendData() using Send Indications.

Public Methods

ReturnNameDescription
UDPClient#### Parameters

UDPClient

UDPClient(ClientObserver & observer, const Options & options)

Parameters

  • observer Observer for allocation lifecycle and data relay events.

  • options Client configuration; defaults to loopback server, 5-min lifetime.