Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.5.1
-
None
-
iOS / OS-X
-
b9440a3047cfca9ae253e850db31b8e9b08538e7
Description
When pointing QMediaPlayer at an HTTP url for progressive download of an MP3 file on OS-X or iOS the AVFoundation backend in avfmediaplayersession.mm does not report back a correct duration after buffering is complete. It reports infinity (os-x) or 0 (iOS). Having looked at the code it seems you are not observing currentItem.duration and thus no durationChanged signal with a correct duration is emitted.