admin管理员组文章数量:1123137
I'm getting the following error erratically when I seek with the range input in a React app, which renders the input unusable until refresh:
PIPELINE_ERROR_READ: FFmpegDemuxer: demuxer seek failed
The only occurrence of this error I can find online is in the Chromium source code. <-- linked file goes directly to the line where the error exists.
I can't replicate the error in Firefox.
<input
type="range"
max={duration}
value={progress}
step={0.01}
onChange={handleScrub}
disabled={isDisabled}
/>
Nothing out of the ordinary is going on with the input.
const handleScrub = (event) => {
const newTime = event.target.valueAsNumber
setProgress(newTime)
audioRef.current.currentTime = newTime
}
It happens if you click around really fast on the range.
本文标签: javascriptRange input breaks ffmpeg when seeking in ChromiumStack Overflow
版权声明:本文标题:javascript - Range input breaks ffmpeg when seeking in Chromium - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736552294a1944527.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论