sampotts / plyr

A simple HTML5, YouTube and Vimeo player

Home Page:https://plyr.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Video Buffering Issue with Seek Videos using HLS from Cloudflare Stream

ParthaChangmai opened this issue · comments

We are experiencing a recurring problem with video buffering when playing Seek Videos through HLS from Cloudflare Stream. The issue manifests as the video playing for a few seconds, followed by buffering, and then repeating this cycle.

Details
HLS Configuration:

const hls = new Hls({
  startFragPrefetch: true,
  abrMaxWithRealBitrate: true,
  abrBandWidthUpFactor: 2,
  initialLiveManifestSize: 10,
  abrBandWidthFactor: 2,
  maxBufferLength: 120,
  maxFragLookUpTolerance: 0.05,
});

Plyr Configuration:

const defaultOptions = {
  autoplay: false,
  ads: {
    tagUrl: adUrl,
    enabled: true,
  },
  clickToPlay: true,
};

Expected Behavior
The video playback should be smooth without frequent buffering interruptions even after seeking.

Video Source: Cloudflare Stream
Playback Environment: Google Chrome
Internet Connection: 100mbps

@sampotts some help here please?