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

0.26.1缓冲进度总是往回跳 #151

Open
yemin82 opened this issue Sep 12, 2024 · 2 comments
Open

0.26.1缓冲进度总是往回跳 #151

yemin82 opened this issue Sep 12, 2024 · 2 comments

Comments

@yemin82
Copy link

yemin82 commented Sep 12, 2024

下面是打印出来的缓冲进度,刚升级0.26.1,之前都没这个问题
flutter: 0:34:16.703000
flutter: 0:35:31.582000
flutter: 0:34:17.903000
flutter: 0:34:18.489000
flutter: 0:34:19.078000
flutter: 0:34:19.690000
flutter: 0:34:20.301000
flutter: 0:35:34.884000
flutter: 0:35:36.334000
flutter: 0:35:36.906000
flutter: 0:34:22.703000

@yemin82
Copy link
Author

yemin82 commented Sep 12, 2024

解决了,我是按你demo把lowLatency填成1,走
player.setProperty('avformat.fflags', '+nobuffer');
player.setProperty('avformat.fpsprobesize', '0');
player.setProperty('avformat.analyzeduration', '100000');
运行了这些就有问题,
我之前没设置 lowLatency,所以不会运行这些代码,然后吧你的代码改了下
设置 player.setBufferRange(min: 1000, max: 120000);就没问题的

@wang-bin
Copy link
Owner

完整日志

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