mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-14 23:57:27 +00:00
parent
18ba85b549
commit
fe7c1b43cf
1 changed files with 1 additions and 1 deletions
|
@ -484,7 +484,7 @@ export default {
|
||||||
var bestAudio = 0;
|
var bestAudio = 0;
|
||||||
|
|
||||||
// Choose the best audio stream
|
// Choose the best audio stream
|
||||||
if (qualityConds >= 480)
|
if (quality >= 480)
|
||||||
player.getVariantTracks().forEach(track => {
|
player.getVariantTracks().forEach(track => {
|
||||||
const audioBandwidth = track.audioBandwidth;
|
const audioBandwidth = track.audioBandwidth;
|
||||||
if (audioBandwidth > bestAudio) bestAudio = audioBandwidth;
|
if (audioBandwidth > bestAudio) bestAudio = audioBandwidth;
|
||||||
|
|
Loading…
Reference in a new issue