Open syubeeham opened 6 years ago
I have the same problem either. I notice that the video duration shown in progress bar was always 13:15:21,no matter how long my video is.
我也遇到了同样的问题,大约13h左右,页面崩溃了。
请问有人解决这个问题了吗?
请问有人解决这个问题了吗?
当我使用chrome播放视频大约13小时(47720秒)时,它停止了,同时,它 在日志中输出“尝试附加,但发生媒体错误,刷新段并中止”。 尽管我将媒体源的持续时间设置为无穷大,但它仍然发生了。 因此,我在下面添加这些代码: if (this.media.currentTime >= this.media.duration) { console.log("auto refresh."); this.wfs = new Wfs(); this.wfs.attachMedia(this.media, this.url); 返回; 幸运的是 ,它有效。但刷新视频元素仍然需要2~3秒。 我想知道有没有更好的办法让视频连续播放?
不知道大佬您,解决这个问题了吗
请问有人解决这个问题了吗?
感谢推荐,我现在尝试使用该代码,长时间播放不知道情况如何
请问有人解决这个问题了吗?
如果可以,我希望能交流一下使用心得
When I use chrome to play video for about 13 hours(47720 seconds), it stops, as the same time, it outputs "trying to append although a media error occurred, flush segment and abort" in the log. Although I tied to set the duration of the media source to equal to infinity, but it still happened. So, I add these codes below: if (this.media.currentTime >= this.media.duration) { console.log("auto refresh."); this.wfs = new Wfs(); this.wfs.attachMedia(this.media, this.url); return; } Fortunately, it works. But it still takes 2~3 seconds to refresh the video element. I wonder if there is any idea better to make the video to play continuously ?