Priority: P2: Important
Affects Version/s: 5.15.2
Fix Version/s: None
It's all described in here:
We've been targeting API 30 running Android 10
Other's having troubles as well:
The above could be solved by enabling plaintext data transmission in Manifest. (android 10 requires TLS)
But the rest is utterly broken anyway.
If you really need to rely on Android's player which is really a hell to work with and not consistent across APIs then you need give it much more love. Or probably would be better to rely on other MIT based solutions. There are cross platform ones as well which you could incorporate into Qt for audio playback.
For API 26+ you need to handle network traffic this way:
So basically it boils down to :
- the underlying native android player shuts down unexpectedly with with either
Unknown MediaEventType(6), ext1=0, ext2=0x0 NOTE: it's all while playing mp3s. Access to QMediaObject synchronized through mutex.
- OR Unknown MediaEventType(8)
- There seem to be some serious memory/object management issues, see how the player is enable to operate at all once explicitly created anew
- all it takes to make it dead is to minimize app's window OR to open a new window/dialog-box.
This shows https://github.com/lipangit/JiaoZiVideoPlayer/issues/1738 that it might go as far as to the media-handling issues , which we have reported in the past (still unsolved)