Xirsys.XTurn.Actions.Refresh (xturn v2.0.0)

Copy Markdown View Source

Pipeline action for TURN Refresh requests.

What problem this solves

TURN allocations expire unless the client extends or explicitly deletes them. Refresh updates the lifetime timer (or tears down the allocation when lifetime is zero), including per-address-family refresh when requested.

Runs in the @refresh chain after Authenticates.

Internal

Pipeline action only; not part of the public application API.

RFCs

Summary

Functions

Refreshes or deletes the allocation lifetime, optionally per address family.

Functions

process(conn)

Refreshes or deletes the allocation lifetime, optionally per address family.

Returns conn with success attrs (lifetime TLV), or 437/443/400 on error. Idempotent retransmits replay cached response attrs.