Xirsys.XTurn.Plugin.Supervisor (xturn v2.0.0)

Copy Markdown View Source

Supervisor for the relay plugin subsystem.

What problem this solves

Plugin configuration, allocation lifecycle hooks, and passive plugin processes must restart independently from relay workers. This supervisor boots Plugin.Manager and Plugin.InstanceSupervisor under :one_for_one.

Internal: started from the application tree. Operators enable plugins via :plugins application env read by Plugin.Manager.

RFCs

  • RFC 5766 (TURN relay traffic plugins may inspect or transform)

Summary

Functions

Returns a specification to start this module under a supervisor.

Starts the plugin supervisor (registered as __MODULE__).

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

start_link(opts \\ [])

Starts the plugin supervisor (registered as __MODULE__).