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

播放斗鱼直播掉帧 #125

Open
YXCQU opened this issue Nov 3, 2021 · 9 comments
Open

播放斗鱼直播掉帧 #125

YXCQU opened this issue Nov 3, 2021 · 9 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@YXCQU
Copy link

YXCQU commented Nov 3, 2021

1. 设备/系统版本:

最新版本,当前的example代码

2. bug描述:

播放斗鱼掉帧,比如 直播源是60fps,使用播放器的fps方法显示只有30左右,肉眼观感也只有30fps。如果播放30fps的直播源,那么只有15fps,帧数减半

3. 实际结果:

这里给一个永久的直播源,余小C每天白天直播可以测试,不会改变
60fps直播源 http://dyscdnali1.douyucdn.cn/live/1126960rPXROLJ7f.flv
30fps直播源 http://dyscdnali1.douyucdn.cn/live/1126960rPXROLJ7f_2000.flv

4. 预期结果:

使用官方的flutter superplayer里的vodplayer可以正常60fps和30fps,liveplayer表现也正常

5. 代码说明:

example代码

播放器很不错,最近找了很多flutter播放器还是这个好,官方的功能不全,不如第三方,哈哈哈😄

@YXCQU YXCQU added bug Something isn't working enhancement New feature or request labels Nov 3, 2021
@qq326646683
Copy link
Owner

是不是flutter debug导致的,你打release试试呢,这个插件只是对vodplayer的封装。如果release还是卡,那可能是flutter外界纹理渲染还有优化空间,或者ios传递纹理数据到flutter还能优化

@qq326646683
Copy link
Owner

用官方的video_player试过吗?可以排除一下上面的一些猜测

@YXCQU
Copy link
Author

YXCQU commented Nov 3, 2021

用官方的video_player试过吗?可以排除一下上面的一些猜测

确实试过了,chewie和videoplayer都ok的,输出帧数稳定

@qq326646683
Copy link
Owner

ios掉帧,还是android也掉

@YXCQU
Copy link
Author

YXCQU commented Nov 3, 2021

ios掉帧,还是android也掉

只有安卓机,ios没有测试

@qq326646683
Copy link
Owner

试过release吗

@YXCQU
Copy link
Author

YXCQU commented Nov 3, 2021

试过release吗

profile试过,release还没,官方实现的flutter版本debug模式是稳定的

@qq326646683
Copy link
Owner

android的实现很简单不应该出问题呀,只能有时间看了,你别寄托太大希望

@YXCQU
Copy link
Author

YXCQU commented Nov 3, 2021

android的实现很简单不应该出问题呀,只能有时间看了,你别寄托太大希望

额,谢谢!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants