Jump to content
Sign in to follow this  
NightWalk

Method prepareAsync() and prepare() Problem

Recommended Posts

Hi guys, I ended up discovering a problem that helped me with version 7, version that gave me some problems since in 6 it didn't happen and it worked perfectly, I have two applications that do the same thing but we are building a new one to abandon the older one made in xamarin.
In the newest version developed in android studio, we were having problems playing .mp4/h264 content, always when it reached the end of the video it remained there frozen as if it had been paused, so it took several seconds for it to play the next video.
So we saw that we had a prepareAsync() method in the code, and we decided to change it to just prepare() and it solved our problem, that delay in exchanging contents was solved.
It happens that in this other application made in Xamarin we cannot change this method since it is based on Xamarin we do not have access to Android.Mono build which is responsible
for distributing the Android libraries. But as we are building a new system in android studio we can see that inside the setPathUri() call of the videoView class we can see prepareAsync()
being called after a few built-in method calls. Thus we can conclude that the videoView calls prepareAsync() based on Xamarim.
The strange thing is that despite being different systems in the official asus 6.0 or it doesn't work perfectly, or in any other hardware and only different also only in the 7 here from Asus doesn't work. How can I change this method any suggestions? in the Xamarin.
Thank you all.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...