Video Player can not set position to a specific time
1. SDK Version: 5.0.2
2. Development Environment: Native Android
3. Tracker/Scanner: Tracker
4. License Type(Free / Pro-One Time Fee / Pro-Subscription / Enterprise): Free
Hi, I'm trying to restore the position of the video whenever onSavedInstanceState is getting called. but the set position method in your provided video player library is like this:
public void setPosition(int position) { if (this.mediaPlayer != null && this.mediaPlayer.isPlaying()) { this.mediaPlayer.seekTo(0); } }
It doesn't seem to update the position instead sets it to 0.
Thanks for your interest to our MAXST AR SDK.
Are you try to Image Tracker of MAXST AR SDK?
So, Do you wanna augmented video object?
If you have other questions, feel free to questions us.
Best regards
Francisco
MAXST Support Team
Yes I'm trying the image tracker and augment a video object.
Is the video augmented normally when the image is recognized?
You can control the video through the VideoRenderer.java of MAXST AR SDK.
Why are you using android.media.MediaPlayer?
If you have other questions, feel free to questions us.
Best regards
Francisco
MAXST Support Team