Open yemin82 opened 2 months ago
解决了,我是按你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);就没问题的
完整日志
下面是打印出来的缓冲进度,刚升级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