parent
18ba85b549
commit
fe7c1b43cf
|
@ -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 New Issue