fix(android): onSeek called instantly (#3530)

This commit is contained in:
Gyanendro Kh 2024-02-13 19:28:53 +05:30 committed by GitHub
parent f0a237e9c2
commit af6aea8934
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1889,8 +1889,8 @@ public class ReactExoplayerView extends FrameLayout implements
public void seekTo(long positionMs) { public void seekTo(long positionMs) {
if (player != null) { if (player != null) {
seekTime = positionMs;
player.seekTo(positionMs); player.seekTo(positionMs);
eventEmitter.seek(player.getCurrentPosition(), positionMs);
} }
} }