p2p-media-loader: Video Stuck at Error

Hello,

I’m having an issue with the new version of script. Sometimes with media load error or some other reasons with http video stuck with loading.

loader: {
		cachedSegmentExpiration: 1000*60*60*2,
		cachedSegmentsCount: 800,
		simultaneousHttpDownloads: 2,
		simultaneousP2PDownloads: 15,
		httpFailedSegmentTimeout: 2000,
		p2pSegmentDownloadTimeout: 5000,
		httpDownloadProbabilitySkipIfNoPeers: true
	},

image

Is it because of my config or some kind of bug?

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 15 (8 by maintainers)

Most upvoted comments

And yes, you are right. It hangs if a xhr.timout is set in xhrSetup.

Fixed in 626b59415d4bb25738e3a61f6a5e689a5b31d21d.