I have following issue with QtMultimedia on Windows Phone 8.1 (Windows 10 Mobile) and Windows 10 (Modern App, WinRT):
When I trying to play local mp3 file (I've stored it in QStandartPaths::AppLocalDataLocation, if it matters), playing always freezes on random position .
I'd found some info with debugging and qtmultimedia sources.
QMediaPlayer emits signals:
- stateChanged with QMediaPlayer::StoppedState
- mediaStatusChanged with QMediaPlayer::InvalidMedia
- error with QMediaPlayer::FormatError ("An error occurred while decoding the media resource.").
I guess it happens on MF_MEDIA_ENGINE_ERR_DECODE error from IMFMediaEngine, if it can help somebody. But I dont know this part of MSFT library.
Are there workarounds for solving this problem?
P.S. Builds for other target platforms work fine with the same code (Android, MinGW, etc).
P.P.S. I'm not sure, but sometimes, on Windowps Phone it freezes when I set the volume physically up or down, but maybe it just a random time for freeze.