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

Add the ability to access the HLS.js object that is created for the video player

Open mrjelveh opened this issue 4 years ago • 3 comments

I need to add quality switcher for this player but I really confused to how to add it, it would be great someone create an example on codesandbox.io

mrjelveh avatar Feb 20 '21 01:02 mrjelveh

hls config is basically just the configuration object that gets passed down to HLS.js (the video player this uses under the hood for video streams). All configuration options can be found here. They also provide an explanation of all their properties as well.

devcshort avatar Feb 20 '21 19:02 devcshort

I looked in to this a bit. At the moment, this isn't possible with this library. I'll need to do some updates that expose the HLS object that I create which would then give you the ability to manage the quality on your own. HLS.js automatically manages quality on it's own by default.

devcshort avatar Mar 23 '21 00:03 devcshort