Android MediaMetadataRetriever Performance #11
Comments
How/when are you setting the source for the MediaElement? Is the issue on a single platform or across multiple platforms? |
the same issue, when loading a next page navigation is taking long, some new result with this issue |
I had performance issue in Android. It takes 20-30 seconds to show video. My project uses Xamarin Form. |
Where is the source video file, what kind of Uri are you using? |
Hey @peterfoot I am using on the xaml this code, I am using the a video example But it takes a lot of time to show the video |
It seems loading metadata is a problem. |
Looking into this, the metadata is required in order to get the video frame size so either needs performance resolving or running this in a separate thread which can then update the video stretch when retrieved... |
MediaMetadataRetriever now runs in background thread to avoid blocking the UI. |
Hello,
I just tried this plugin in Xamarin. I have an issue here. I am showing a list of videos on a page and selecting it needs to show the video page. Here the problem is when I tried to select it, the next page navigation is taking long as it is trying to load the video which is causing issues. Is there anything we can do here to navigate page fast and the video plays on clicking the play button.
The text was updated successfully, but these errors were encountered: