player icon indicating copy to clipboard operation
player copied to clipboard

This SourceBuffer has been removed from the parent media source

Open okarlsson opened this issue 11 months ago • 0 comments

Current Behavior:

After following the getting started docs for React + Dash + Default layout in a fresh Vite project, the console fills up with error messages like below. The same video loads correctly without any errors in the Dash reference player.

[505][SourceBufferSink][video] getAllBufferRanges exception: Failed to read the 'buffered' property from 'SourceBuffer': This SourceBuffer has been removed from the parent media source. 

However, the video still plays as it should.

Expected Behavior:

The stream should play without logging errors to the console.

Steps To Reproduce:

  1. Create a vite app
  2. Follow the installation docs
  3. Add the MediaPlayer to the app like this
function App() {
  return (
    <MediaPlayer
      title="Sprite Fight"
      src="https://files.vidstack.io/sprite-fight/dash/stream.mpd"
    >
      <MediaProvider />
      <DefaultVideoLayout
        thumbnails="https://files.vidstack.io/sprite-fight/thumbnails.vtt"
        icons={defaultLayoutIcons}
      />
    </MediaPlayer>
  );
}
  1. Start the dev server and visit the app in Chrome
  2. If no error logs, refresh the page

Environment:

Anything Else?

Dash reference player link with same media file: https://reference.dashif.org/dash.js/nightly/samples/dash-if-reference-player/index.html?mpd=https%3A%2F%2Ffiles.vidstack.io%2Fsprite-fight%2Fdash%2Fstream.mpd+&debug.logLevel=5&streaming.capabilities.supportedEssentialProperties.0.schemeIdUri=urn%3Advb%3Adash%3Afontdownload%3A2014&streaming.capabilities.supportedEssentialProperties.1.schemeIdUri=urn%3Ampeg%3AmpegB%3Acicp%3AColourPrimaries&streaming.capabilities.supportedEssentialProperties.2.schemeIdUri=urn%3Ampeg%3Adash%3Aurlparam%3A2014&streaming.capabilities.supportedEssentialProperties.3.schemeIdUri=urn%3Ampeg%3Adash%3Aurlparam%3A2016&streaming.capabilities.supportedEssentialProperties.4.schemeIdUri=urn%3Ampeg%3AmpegB%3Acicp%3AMatrixCoefficients&streaming.capabilities.supportedEssentialProperties.5.schemeIdUri=urn%3Ampeg%3AmpegB%3Acicp%3ATransferCharacteristics&streaming.capabilities.supportedEssentialProperties.6.schemeIdUri=http%3A%2F%2Fdashif.org%2Fthumbnail_tile&streaming.capabilities.supportedEssentialProperties.7.schemeIdUri=http%3A%2F%2Fdashif.org%2Fguidelines%2Fthumbnail_tile&streaming.delay.liveDelayFragmentCount=NaN&streaming.delay.liveDelay=NaN&streaming.buffer.initialBufferLevel=NaN&streaming.liveCatchup.maxDrift=NaN&streaming.liveCatchup.playbackRate.min=NaN&streaming.liveCatchup.playbackRate.max=NaN

Image

okarlsson avatar Feb 19 '25 07:02 okarlsson