langhuihui / jessibuca

Jessibuca是一款开源的纯H5直播流播放器
https://jessibuca.com
GNU General Public License v3.0
2.04k stars 396 forks source link

频繁调用播放器的 snapshot 方法可能会造成内存泄漏 #294

Closed Bourne115 closed 1 year ago

Bourne115 commented 1 year ago

运行环境:

snapshot 方法的调用代码

Vue.prototype.$JessibucaPlayer.screenshot(name, 'jpeg', 0.3, 'base64')

内存监控对比:

ed734cb6123cd0911aa47e064af099d

5e7c3a82899a59475858462a2336efe

bosscheng commented 1 year ago

@Bourne115 帮忙看下渲染的元素是啥,是canvas 还是video。

bosscheng commented 1 year ago

已经修复