Closed HaSyHieu closed 1 week ago
Did you remember to set the permissions to access this folder which is in Player Settings > Android > Write Permission > External (SDCard) ? Can this be reproduced using a new project and running the AVPro Video mediaplayer demo scene?
I use the demo scene of avpro, i already have permission and that apk runs well on some devices, except that device. Yes it can be reproduced
I can attach that project to you through mail. Can you check it ?
Have you tested using both Vulkan and OpenGLES?
I use only opengles 3.0, not vulkan. It's our settings
Using vulkan will make some of our .mp4 video, in some device, can not be played (Using Unity Video Player)
So you are saying that the videos will not run on the device using Unity Videoplayer? Does the video run using the device's native videoplayer?
the video it self can run on the native video player. We remove vulkan to reduce crash, anr and that problem (video can not play on devices)
[update] : I have tried version 3.0.1, using both vulkan and opengles3. It dont work
So this worked on the same device using AVPro Video version 2.9.3? And have you tested playing the same video from streaming assets? Have you tried different videos? Perhaps some test streams? Are you able to provide a sample of the video that you are testing with please?
I can provide you my project through mail.
Yes, i tried different ways to do it, but it seem not working. I also try with unity default settings, no multithreaded rendering, have multi thread rendering, open gles 3 + vulkan, only open gles 3. Also i build your sample scene (included in the package)
A project would be helpful thanks. unitysupport@renderheads.com What devices have you tested it on? Is this the only one it doesn't work on?
I test on Oppo A15, Realme 3, Huawei Y9s
Can you provide a full, unedited logcat please
This issue has been fixed for the next release (version 3.0.3)
AVPro Video version 3.0.3 has been released. Please let us know if it has not fixed your issue.
Describe the issue Can not play video (Using avpro video in android)
Your Setup (please complete the following information):
To Reproduce
Logs Playback error : androidx.media3.exoplayer.ExoPlaybackException: Unexpected runtime error AVProVideo error Unexpected runtime error Logs File From Android Studio : log.txt