Xirsys.XTurn.SocketPipeline (xturn v2.0.0)

Copy Markdown View Source

Socket pipeline for stream transports (TCP, TLS-over-TCP).

What problem this solves

TCP delivers a byte stream, not discrete datagrams. This pipeline wires the STUN/TURN accumulator (with required ChannelData padding) to the handler that routes control and media for each complete frame.

Internal

Started by xsockets for TCP/TLS listeners; not part of the public application API.

RFCs

  • RFC 5766 - ChannelData padding on stream transports (pt.11.5)
  • RFC 5389 - STUN over TCP framing

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.