feat: add session recording and replay for interactive event exploration#930
Open
rx18-eng wants to merge 2 commits into
Open
feat: add session recording and replay for interactive event exploration#930rx18-eng wants to merge 2 commits into
rx18-eng wants to merge 2 commits into
Conversation
Collaborator
Author
|
@EdwardMoyse @sponce had been working on this sice the last month and have finally implemented it , let me know your thoughts ! |
Collaborator
|
Looks great ! A very nice alternative to fat videos recorded from the screen. I like it a lot |
Collaborator
Author
|
@sponce thanks for your review :) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Body
adds session recording + replay for #883. depends on #835 (the event bus), built on that branch.
record an exploration (camera moves + bus events like particle tagging), replay it as live interactive 3D, not a video. share as a URL or a
.phnxreplayfile.how it works
SessionRecorderlistens on the event bus (newonAnywildcard) + samples the camera every 100msSessionPlayerre-emits the events at original timing, so the replay stays interactive (pause, rotate, scrub, 0.5x-4x)Shift+Ctrl+Rtoggles recordingtriggers
Shift+Ctrl+Rto record?replay=<base64>inline link?session=<url>remote.phnxreplayfileshared links do NOT auto-play. they decode + validate, then the pill shows:
and waits for an explicit click before replaying.
security
?session=fetch: http/https only, credentials omitted, no-referrer, 15s timeout, streamed 10MB size cap (aborts mid-download)?replay=decode: 50MB decompression-bomb cap, schema validation, malformed input fails safeinnerHTML/evalanywhere; replayed payloads go through the normal event busnot in this PR
.phnxreplay(currently re-loaded via?session=URL)tested
Recording.2026-06-06.172804.1.1.mp4