video-dev / hls.js

HLS.js is a JavaScript library that plays HLS in browsers with support for MSE.
https://hlsjs.video-dev.org/demo
Other
14.69k stars 2.56k forks source link

Failed to read the 'buffered' property from 'SourceBuffer' #2268

Closed DanieleSuppo73 closed 5 years ago

DanieleSuppo73 commented 5 years ago

Hello, I'm using hls.min.js on Unity with AVPro. The issue is that often times (it seem to be quite random) loading a new video I get the error "Uncaught InvalidStateError: Failed to read the 'buffered' property from 'SourceBuffer': This SourceBuffer has been removed from the parent media source".

Any help for it? Many thanks

What version of Hls.js are you using?

What browser and OS are you using?

Test stream:

Checklist

Steps to reproduce

  1. Please provide clear steps to reproduce your problem
  2. If the bug is intermittent, give a rough frequency

Expected behavior

What you expected to happen

Actual behavior

What actually happened

Console output

Paste the contents of the browser console here.
For media errors reported on Chrome browser, please also paste the output of chrome://media-internals 
Korilakkuma commented 5 years ago

The source is attached to a media element but the stream has been ended via a call to MediaSource.endOfStream()

In other words, whenMediaSource#readyState is ended, this error occurs by invoking MediaSource#appendBuffer.

Please refer to Media Source Extensions.

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.