n-ce / ytify

Audio Streaming Web App for YouTube. Stop watching, Listen. Save data & 🌎.
https://ytify.netlify.app
GNU General Public License v3.0
153 stars 48 forks source link

switch to m4a when low bitrate opus unavailable #76

Closed n-ce closed 1 year ago

n-ce commented 1 year ago

Observation : Newly uploaded streams do not have many bitrates to choose from. By default (low settings) ytify chooses the lowest bitrate opus stream, which in these cases would be a ~128kbps stream, which isn't so low.

Requirement : Switch to lowest available m4a bitrate, usually a ~48kbps streams, when this is the case and update the bitrate selector to only show that bitrate.

Note : when quality is set to high this switching wouldn't be required.