goldfire / howler.js

Javascript audio library for the modern web.
https://howlerjs.com
MIT License
23.29k stars 2.21k forks source link

Duration returns Infinity in chrome #1715

Open Mani-Gme opened 2 months ago

Mani-Gme commented 2 months ago

The Problem

The Duration value always returns "Infinity" in Chrome, but works fine with Firefox.

Reproducible Example

No response

Reproduction Steps

this.player = new Howl({ src: [decodedStr], html5: true });

I have streamed the music file using the above config. While playing the music file the duration value is always returning Infinity. I have faced this issue only in Chrome. In Firefox, I can get the duration value.

Possible Solution

No response

Context

No response

Howler.js Version

2.2.3

Affected Browser(s)/Versiuon(s)

No response