By Trojanonator
on Wed, 07/25/2018 - 12:52
Hi, I'm using Vuforia for an AR app that plays video with alpha over an ImageTarget. I used Vuforia Video Playback sample. The problem I'm having is that as the Target is recognized Video isn't playing right away but for a few seconds before the video all I can see is blank mesh the size of a video.
You can take a look at this here https://youtu.be/99BCQPLqH9Y On android it takes about three seconds before video starts playing, in unity play like half a second. Does anybody know why and how do i fix it ?
Thanks
Is this Unity? If so, are
Is this Unity? If so, are you using VideoPlayer.isPrepared callback? Another thing to try is letting Unity reencode the video, I've found this happens with some video codecs.
Yes it'đ Unity. By reencoding
Yes it'đ Unity. By reencoding you mean the transcode option in video settings?
And I tried VideoPlayer.isPrepared but it didn't work, maybe I was using it wrong.
I used it like this in VideoController.cs
public void Play()
{