Xamarin-Android Dispose issue
LibVLCSharp: v0.7.0
In your android sample application. There is a code for
override OnPause(){ videoView.MediaPlayer.Stop(); videoView.Dispose(); }
After tracing this i found that Stop() stuck and not executing Dispose(). And if i remove this code the application crash.
My project requirement is to play multiple videos one by one. For every new video it creates new control and dispose the old one.
After using vlc plugin in android i am facing 2 issue.
- Stop() and Dispose() is not working as expected. And if i don't use stop(). it crash the app.
- Video is not disposing. So, for every new video RAM size is increasing. because old vlc control is still there is RAM.
Can any one guide my how to dispose the control and also release the occupied memory in RAM?