View Source Membrane.ICE.TURNCleaner (Membrane Template plugin v0.13.0)
Integrated TURN cleaner.
It monitors given process and when it exits, stops Integrated TURN.
Link to this section Summary
Functions
Spawns a new TURN cleaner and links it to calling process.
Spawns a new TURN cleaner under supervisor supervisor.
Link to this section Functions
Spawns a new TURN cleaner and links it to calling process.
pid is a pid of a process to monitor and turn is an TURN server to terminate when process
with pid pid exits.
@spec start_under(Supervisor.supervisor(), pid(), map()) :: DynamicSupervisor.on_start_child()
Spawns a new TURN cleaner under supervisor supervisor.
pid and turn have the same meaning as in start_link/2.