Plays back a recording.
Playback is driven by the server: each step schedules the next one after
the recorded gap divided by the speed, and tells the frame which event to
show through PhoenixReplay.Web.Player.Channel. The Scrubber hook only maps
pointer positions to events and animates the thumb between them.
A session that is still running is redacted before it is shown, which
can take a while with a detecting PhoenixReplay.Redactor. The player
then loads it with start_async/3, shows the redaction's progress, and
hands the redacted recording to its frame, so the frame never reads the
buffer itself. Stored recordings were redacted when they were saved and
load at once.
Collected telemetry and log events follow the LiveView event that caused them, indented, and can be hidden by kind. They leave the replayed state as it was, so selecting one shows its details next to the assigns.
A saved recording can be exported as a video when PhoenixReplay.Export
is available, with the options its dialog offers. The export runs under
PhoenixReplay.Export.Queue, and the player follows its progress and
links the video when it is ready.
Summary
Functions
Callback implementation for Phoenix.LiveView.render/1.
Functions
Callback implementation for Phoenix.LiveView.render/1.