QMedialPlayer on Android in service playing audio streaming.
I'm trying to use QMediaPlayer to play audio stream on Android using qt5.7.
When the QMediaPlayer is used in the activity part the playback is working as expected.
But when the QMediaPlayer is used in service the playback is not working, neither there is no any event from the object. When QMediaPlayer is used to play local files in the service part the playback is working fine having proper messages.
Checking the status I'v got: Media Status: QMediaPlayer::InvalidMedia.
Does it mean that in the background(service) the stream can't be processed by design?
Permissions seems to be properly set.
I would appreciate very much any hints how to solve this issue and it could important for other users as well.
Solution I hope is here. https://bugreports.qt.io/browse/QTBUG-54506 bug :).
Hi and welcome to devnet !
Thanks for sharing the report link !
It has been marked as solved for Qt 5.7.1. So please mark this thread as solved using the "Topic Tools" button so other forum users may know a solution has been found :)