Xirsys.XTurn.SocketPipeline.Datagram (xturn v2.0.0)

Copy Markdown View Source

Socket pipeline for datagram transports (UDP, DTLS).

What problem this solves

UDP datagrams already bound message boundaries. This pipeline uses the STUN/TURN accumulator in datagram mode so unpadded ChannelData from browsers is accepted, then hands complete frames to the shared handler.

Internal

Started by xsockets for UDP/DTLS listeners; not part of the public application API.

RFCs

  • RFC 5766 - optional ChannelData padding on UDP (pt.11.5)
  • RFC 5389 - STUN over UDP

Summary

Functions

Returns the compiled %XSockets.Pipeline.Tier{} for root.

Returns the ordered list of tier names declared on this pipeline module.

Functions

__tier_spec__(atom)

Returns the compiled %XSockets.Pipeline.Tier{} for root.

__tiers__()

Returns the ordered list of tier names declared on this pipeline module.