Closed ciperpugazhenthi closed 1 year ago
Please provide all the information requested @ciperpugazhenthi
Yeah just now updated the issue @Ste-RH
Are you using the media caching API? See the documentation here. If not then RemoveMediaFromCache
will not be helpful to you.
There are some memory related fixes going in for another issue with version 2.6.6 which we will be releasing shortly. Please update to this version when it's available and let us know if you're still seeing the problem.
Version 2.6.6 is now out. Please let us know if this has not resolved your issue.
Have you tried the above and also updated to version 2.6.6?
@MorrisRH and @Chris-RH Yes i have updated by Current AVPro package with new 2.6.6 i which it was throwing an error and i'm unable to use it
@ciperpugazhenthi please provide details of the error otherwise there is nothing further we can do
Closed due to lack of information. Please reopen if you can provide further information.
Please DO NOT LINK / ATTACH YOUR PROJECT FILES HERE
We are trying to integrate an AR module as an library package into native Application from unity. We use the AVPro for playing a video from URL. The beginning all the datas are been loaded and set in the scene, URL is loaded and media player is enabled and URL passed everything runs fine in the beginning stage when we are unloading the unity scene i.e going back to native app interface all memory is not being released but when using unity Video player component and all dynamically loaded memories are released and i can get back the memory. We have tried to destroy the avpro mediaplayer and other avpro references from scene no improvements still the memory leak issue is not solved. Tried closing the mediaplayer, stopping the media player and i have used EndOpenChunkedVideoFromBuffer() to release the video buffer memory i believe. i have attached the code snippet of unloading avpro below you can check..We face the issue in iOS only in all iOS versions. Trying to release the cached video url using RemoveMediaFromCache(url) but nullreference is throwing. Kindly help us to solve this memory leak issue thank in advance
Your Setup (please complete the following information):
To Reproduce
Screenshots Method used to clear the AVPro media player references
The below screen shot is will show the memory usage graph when using unity video player
The below screen shot is will show the memory usage graph when using AVPro Media Player
By screen shot comparison Unity Video player releases more memory than AVPro Media player
Please DO NOT LINK / ATTACH YOUR PROJECT FILES HERE
Instead email the link to us unitysupport@renderheads.com