RenderHeads / UnityPlugin-AVProVideo

AVPro Video is a multi-platform Unity plugin for advanced video playback
https://www.renderheads.com/products/avpro-video/
236 stars 28 forks source link

Video doesn't play smoothly after playing for sometime and app becomes unresponsive #2032

Open noman5412 opened 5 days ago

noman5412 commented 5 days ago

I have been testing this plugin for the last three months and I have been facing an issue while playing video on android phone, fps drops too much and sometimes to 1fps and app is completely halt. Android logcat doesn't show any of the error and i have been facing this issue on multiple devices. I am sharing every details with you so you can guide me if i am doing something wrong.

The video is placed on S3 and using cloudfront for this. Moreover, I have downloaded the video on persistent datapath using DownloadHandler and playing from there but the issue is still there. [NEED HELP]

This issue is frequent on various devices except Samsung devices, atleast i didn't find

Moreover, I have attached a file having android logs during this issue along with my project settings screenshots.

AndroidLogs.txt 8 7 6 5 4 3 2 1

Ste-RH commented 5 days ago

Can you define ‘sometime’ ?

noman5412 commented 4 days ago

Can you define ‘sometime’ ?

Sometimes means almost everytime when the video is played for a longer time and seeking to different parts of videos frequently. I am also emailing you the video link so you can check it yourself.

Ste-RH commented 2 days ago

We have tested your video here on a range of older Android hardware (oldest being a Remi Note 10S) and not seeing anything like you are reporting.

Some things of note:

Please update to 3.0.11, IL2CPP, re-test and send over a new logcat if you are still seeing the issue.

If you could also try the video on the same device but using the Demo_MediaPlayer scene bundled with the AVPro Video asset, that will rule out anything in your project causing the issue.

noman5412 commented 13 hours ago

Thanks for your detailed response. I have tested using IL2CPP and the problem seems resolved. I am still curious why it was not working with mono.