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/seek callback with controls #3694

Merged

Conversation

freeboub
Copy link
Collaborator

Summary

Ensure onSeek is well called when controls are enable on android.

Motivation

Fix: #3691

Changes

move onSeek event in onPositionDiscontinuity as explain here:
https://developer.android.com/media/media3/exoplayer/listening-to-player-events?hl=fr
remove seekTime as it is useless now

Test plan

Ensure onSeek is called in both cases with sample

Copy link
Collaborator

@KrzysztofMoch KrzysztofMoch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🙌

@KrzysztofMoch KrzysztofMoch merged commit c730306 into TheWidlarzGroup:master Apr 22, 2024
3 checks passed
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.

[BUG]: onSeek function not called when user seeks the video using native controls
2 participants