Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Segmenter issue leading to paused playback #17840

Merged
merged 4 commits into from
Oct 6, 2023

Conversation

benjackwhite
Copy link
Contributor

@benjackwhite benjackwhite commented Oct 6, 2023

Problem

The playback of replays syncs the rrweb time with our own tracking and it could happen that a timestamp was in between the end and start time of two ajoining segments.

Changes

  • Fixes this by making them inclusive (one segments end is the next ones start)
  • Also adds a nifty helper method on the window so we can debug things more easily.

👉 Stay up-to-date with PostHog coding conventions for a smoother review.

How did you test this code?

Updated tests and validated it myself

@benjackwhite benjackwhite marked this pull request as ready for review October 6, 2023 10:45
@benjackwhite benjackwhite merged commit 2183c6f into master Oct 6, 2023
72 checks passed
@benjackwhite benjackwhite deleted the fix/player-segmenting branch October 6, 2023 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants