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

[BUG]: Play a video after seekTo action, audio is heard glitchy and video moves faster for a sec #4445

Open
venumeshbhaibaldani opened this issue Mar 2, 2025 · 1 comment
Labels

Comments

@venumeshbhaibaldani
Copy link

Version

6.4.5

What platforms are you having the problem on?

Android, Android TV

System Version

11

On what device are you experiencing the issue?

Real device

Architecture

Old architecture

What happened?

I'm trying to implement fast forward (FW) and fast rewind (FR) functionality using the seekTo function with a customized ReactExoplayerView.

The behavior I'm seeing is that when I release FW/FR, the player returns to normal speed, starts at the correct speed (1), and is positioned properly. However, there’s an issue where, after starting playback, the player skips ahead by 1 second.

For example, if I start FW at a 64x speed from position 0 and use it for 10 seconds, the player should seek to the 640-second mark and then resume at 641 seconds. But after 641 and 642 seconds, it skips 643 and jumps to 644 seconds. This results in an audio glitch and the video moving too quickly for a brief moment.

In the console, I can see that the video starts playing after FW at 518 seconds, but it plays from 518 to 519, then skips 520 and jumps to 521 seconds.

======= Native                D   fastForwardOrRewind position => 390398
ReactNativeJS                 I  '======= onSeek callback on JS data => ', { seekTime: 390398, currentTime: 390.39 }
======= Native                D   fastForwardOrRewind position => 454398
ReactNativeJS                 I  '======= onSeek callback on JS data => ', { seekTime: 454.398, currentTime: 454.39 }
======= Native                D   fastForwardOrRewind position => 518398
ReactNativeJS                 I  '======= onSeek callback on JS data => ', { seekTime: 390398, currentTime: 518.39 }
ReactNativeJS                 I  '======= onProgress callback on JS currentTime => ', 519
ReactNativeJS                 I  '======= onProgress callback on JS currentTime => ', 521
ReactNativeJS                 I  '======= onProgress callback on JS currentTime => ', 522
ReactNativeJS                 I  '======= onProgress callback on JS currentTime => ', 523
ReactNativeJS                 I  '======= onProgress callback on JS currentTime => ', 524
ReactNativeJS                 I  '======= onProgress callback on JS currentTime => ', 525
ReactNativeJS                 I  '======= onProgress callback on JS currentTime => ', 526

Reproduction Link

repository link

Reproduction

Step to reproduce this bug are:

Use version latest version

Try to seekTo video using iterate function with speed of 64x, release seek and observe the playback. it like audio is heard glitchy and video moves faster for a sec only.

Copy link

github-actions bot commented Mar 2, 2025

Thank you for your issue report. Please note that the following information is missing or incomplete:

  • reproduction link

Please update your issue with this information to help us address it more effectively.

Note: issues without complete information have a lower priority

There is a newer version of the library available. You are using version 6.4.5, while the latest stable version is 6.10.2. Please update to the latest version and check if the issue still exists.

Note: If the issue still exists, please update the issue report with the latest information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: To Triage
Development

No branches or pull requests

1 participant