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

Copy Markdown View Source

Pipeline action for TURN CreatePermission requests.

What problem this solves

Before relayed traffic may flow to a peer, the client must authorize that peer's IP on its allocation. CreatePermission adds those peer IPs to the allowlist checked on the media and relay ingress paths.

Runs in the @createpermission chain after Authenticates.

Internal

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

RFCs

Summary

Functions

Adds peer IP permissions on the caller's allocation.

Functions

process(conn)

Adds peer IP permissions on the caller's allocation.

Returns conn with a success response, or 400/403/437/443 on error.