-
Notifications
You must be signed in to change notification settings - Fork 83
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
视频解码方案 #8
Comments
之前看过这个,我后面看能不能也把它也加进可选的解码器里面 |
主要是现在的解码效率好像有点低,很容易就把手机卡死了 |
内存一直在飙升是导致卡死的原因 |
因为做点播的时候需要缓存已播放的大容量信息 |
直播的时候也一直在飙升 |
这就难搞了 |
我看到有人使用 flv.js + Broadway.js + websocket 来播放 flv stream |
可以移植一下我的WXInlinePlayer的算法,来解决这个播放器的内存占用问题。 目前使用你的示例视频,稳定在140-170M区间,之后会进一步逐步优化内存占用,使得1080P的长影片稳定在200-300M内存消耗。 UPDATE: |
@zhw2590582 Harvey Zack |
直播已经很大程度的降低了内存占用,点播尚未作出更改。 |
@q2922102693 |
看看能否参考下这个项目
https://github.com/matijagaspar/ws-avc-player
The text was updated successfully, but these errors were encountered: