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

Copy Markdown View Source

Pipeline action for TURN ChannelData messages.

What problem this solves

After ChannelBind, clients send media as compact ChannelData frames (not full STUN). This action looks up the bound peer and forwards the payload through the relay.

Not a STUN request method; handled in the @channeldata chain when the message prefix indicates channel data rather than a STUN header.

Internal

Pipeline action only; also invoked from the media fast path via DataPlane. Not part of the public application API.

RFCs

Summary

Functions

Forwards raw channel-data payload to the bound peer via DataPlane.

Functions

process(conn)

Forwards raw channel-data payload to the bound peer via DataPlane.

Returns conn unchanged on forward or drop, false when no matching channel exists, or false on the TCP control socket.