jfujita / videojs-http-source-selector

VideoJS plugin that leverages videojs-contrib-quality-levels plugin to offer manual user-select able level selection options for adaptive http streams.
MIT License
62 stars 49 forks source link

Feature suggestion: Closest match default bitrate #12

Open stevendesu opened 5 years ago

stevendesu commented 5 years ago

Presently there are two options for default bitrate: low and high. I have a broadcast with:

I wish to default to 480p, but low sets it to 270p and high sets it to 1080p

I would prefer if I could do something like:

default: 480

If there is no "480p" then this could find the closest match (540p in my case)