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

关于调用seekTo实现视频倒放的效果 #3944

Closed
guochenchn opened this issue Mar 8, 2024 · 2 comments
Closed

关于调用seekTo实现视频倒放的效果 #3944

guochenchn opened this issue Mar 8, 2024 · 2 comments

Comments

@guochenchn
Copy link

请教一下,我们有一个功能是实现视频倒放,有一定的条件触发,比如刚开始是正常播放,触发条件后就从当前位置倒放,我用的是seekTo这个函数,比如用5秒钟的时间倒放20秒的视频,我是分了100步倒放,也就是50毫秒调用seekTo一次,每次后退200毫秒视频,出现了卡顿,有没有比较好的方式解决

@CarGuo
Copy link
Owner

CarGuo commented Mar 10, 2024

关于这个我只能说,seekto不适合做这个事情,因为seekto会触发清空buffer的行为

@CarGuo CarGuo closed this as completed Mar 10, 2024
@guochenchn
Copy link
Author

你有没有比较好的建议实现这一功能呢?感谢🙏

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

2 participants