Search Unity

Video VideoPlayer.Prepare() slow in Android?

Discussion in 'Audio & Video' started by jocyf, May 25, 2018.

  1. jocyf

    jocyf

    Joined:
    Jan 30, 2007
    Posts:
    288
    Hi,

    I'm creating video interactive applications and it runs fine on IOS but on Android it seems to take too long to prepare the videos. It seems to be a problem related the Android MediaPlayer witch is slow and Unity's VideoPlayer that don't use multithreading for preparing videos (at least on Android).

    Right know I'm testing some asset store alternatives regarding videoplayers to see if there is any improvement reagarding this issue.

    Does anyone knows if there is any plans to improve that part in Unity using another player like ExoPlayer for Android (it seems to be much faster) and/or implementing multithreading on Android?
     
    Last edited: May 25, 2018
  2. DerrickBarra

    DerrickBarra

    Joined:
    Nov 19, 2013
    Posts:
    210
    I've been watching this issue for years, Unity doesn't seem to be actively developing this, you should not use the Video Player on Android unless you can download your videos first.
     
  3. bakioztepe

    bakioztepe

    Joined:
    Sep 23, 2019
    Posts:
    9
    This issue still exists in 2019.4 builds. I think this is beyond a performance issue. This is a major bug.