Android ANR
Summary
Hi guys,
I'm getting lots of ANRs on Android. I think I've found a way to reproduce that, seems like it is related somehow to garbage collection and the app just freezes. I've created sample project that reproduces the issue. One thing I've noticed is that if you remove subscription to Playing event, the issue is gone.
Minimal project and steps to reproduce
VLC_ANR.zip See android app project in attachments. I've tested in debug on device.
What is the current bug behavior?
The app freezes.
Environment
OS: Android Version: Android 9 and 10 for surem maybe lower. LibVLCSharp: 3.4.5 VideoLAN.LibVLC.Android: 3.2.0