flv DOMException: Failed to read the ‘buffered‘ property from ‘SourceBuffer‘: This SourceBuffer has
点击左侧判断当前数组播放的个数有没有超出,如果有就替换第一个点是做替换的时候会报错解决方案:依赖下flv.js/src/core/mse-controller.js找到appendMediaSegment(),_needCleanupSourceBuffer ()这两个方法,在方法中加入以下代码 if (!this._mediaSource || this._mediaSource.readyState !== 'open') { return; }在页面flv cre
原创
2022-05-02 18:05:27 ·
4604 阅读 ·
2 评论