OTP application entry for XGW.
On boot this module:
- Loads the patched OTP DTLS packet demux (
XGW.DTLS.OtpDemux) so DTLS can send on the shared Listener UDP socket instead of a private:gen_udp. - Ensures the
XGW.Peer.SendHandleandXGW.Peer.DatachannelETS tables exist (RTP hot path and DC child lookup). - Starts a
DynamicSupervisor(XGW.PeerSupervisor) that ownsXGW.Peerprocesses.
Listeners are started by the host (your app, the browser spike, or tests), not here.
RFCs
Bootstraps OTP pieces used by the stack above (no wire-protocol role of its own). DTLS demux patch supports the RFC 7983 shared-socket model.
Summary
Functions
Starts the XGW supervision tree.