Option to select quality
Closed this issue · 1 comments
MiniGod commented
Currently quality is hard coded to lowest
:
var video = ytdl(uri, {filter: filterVideo, quality: 'lowest'});
which is as low as 96kbps.
highest
is 192kbps, which is what ytdl defaults to.
The ytdl readme links to the itag-values
JamesKyburz commented
I have removed the hardcoded quality and added a default option of lowest.
https://github.com/JamesKyburz/youtube-audio-stream/blob/master/index.js#L11