react-player icon indicating copy to clipboard operation
react-player copied to clipboard

Missing HLS Events

Open RyanTippsTX opened this issue 1 year ago • 0 comments

Current Behavior

When using React Player for HLS media, the onReady callback is invoked after some HLS events have already occurred (e.g. MANIFEST_LOADING, 1st FRAG_CHANGED, etc).

Suggested Soution

Could an onHlsInit callback be added that would run immediately after new Hls(hlsOptions) ? I am happy to make a PR for this.

Or is there already a way to do this?

(related issue for reference)

RyanTippsTX avatar Oct 31 '23 19:10 RyanTippsTX