I'm doing a simple test to play a video using QML with Android.
The app works like this:
This works perfectly for Desktop.
When I do the same for Android I can go until the 2nd step. When I select the video I can read this error in Application Output:
E MediaPlayerNative: Unable to create media player
D Qt MediaPlayer: setDataSource failed.: status=0x80000000
V MediaPlayer: resetDrmState: mDrmInfo=null mDrmProvisioningThread=null mPrepareDrmInProgress=false mActiveDrmScheme=false
V MediaPlayer: cleanDrmObj: mDrmObj=null mDrmSessionId=null
V MediaPlayer: resetDrmState: mDrmInfo=null mDrmProvisioningThread=null mPrepareDrmInProgress=false mActiveDrmScheme=false
V MediaPlayer: cleanDrmObj: mDrmObj=null mDrmSessionId=null
W libEGL : EGLNativeWindowType 0x700fb22010 disconnect failed
Its clear that the code can't create a MediaPlayer.
Here a link to my test code in my github: https://github.com/Oshio09/QML-Video-Test
What should I change to make the media player reproduce the video at Android?
Test Enviorment:
Phone:
User contributions licensed under CC BY-SA 3.0