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

[Mobile Replay - Bug] Video player plays wrong clip #70687

Open
Tracked by #70065
michellewzhang opened this issue May 10, 2024 · 1 comment
Open
Tracked by #70065

[Mobile Replay - Bug] Video player plays wrong clip #70687

michellewzhang opened this issue May 10, 2024 · 1 comment

Comments

@michellewzhang
Copy link
Member

Replay example: https://sentry-sdks.sentry.io/replays/d4eade2316884da3b97ea53191ef58a5/?project=5428561&query=&referrer=%2Freplays%2F&statsPeriod=14d&yAxis=count%28%29

If you look at the first 4 seconds, the screen stops being black after 2 seconds, but pausing & playing at this spot is inconsistently black/not black. Also, after playing past 4 seconds, if you go back to 4 seconds, it'll show a black screen.

@michellewzhang michellewzhang changed the title [Mobile Replay] Video Player Plays Wrong Clip [Mobile Replay] Video player plays wrong clip May 10, 2024
@michellewzhang michellewzhang changed the title [Mobile Replay] Video player plays wrong clip [Mobile Replay - Bug] Video player plays wrong clip May 10, 2024
@michellewzhang
Copy link
Member Author

Looked into this a bit. Seems to be a weird replay because in loadSegmentAtTime, segmentIndex is always undefined, which seems to relate to a gap: cc @billyvg

trim2.mov

// and wait until the timer reaches the next video segment's starting
// timestamp before playing.
else if (segmentIndex === undefined && previousSegmentIndex !== undefined) {
const previousSegment = this.getSegment(previousSegmentIndex)!;
// XXX: Note that loading the previous segment will require waiting for

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

No branches or pull requests

1 participant