# `PhoenixReplay.Application`
[🔗](https://github.com/elixir-vibe/phoenix_replay/blob/v0.6.2/lib/phoenix_replay/application.ex#L1)

Starts PhoenixReplay's supervision tree.

The recording buffer table is created here rather than in a worker, so
in-progress recordings survive any worker restart. The storage backend's
own process, if it has one, starts first; see
`c:PhoenixReplay.Storage.child_spec/1`. Changing `:storage` to a backend
with a process takes an application restart.
`PhoenixReplay.Export.Supervisor` runs video exports, starting what
they need only with the first one.
`PhoenixReplay.Capture.Handlers` attaches the telemetry and log handlers
from the `:collect` and `:logs` configuration, so changing them takes an
application restart.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
