Android media player seek returns true but fails

I am able to play the sample video here on android using media texture.
Now I am trying to seek the video to a particular time using BP.
The Seek node returns true indicating that the seek was successful but the video fails to jump to the desired time. Playing after seeking just results in the video playing from the beginning

I’ve added 5 second delays between each Play / Seek command as per the tutorial.

Note that the seeking function works fine on windows when I test it in the editor.

Might be related to the fact that in

FAndroidMediaPlayer::Seek(const FTimespan& Time)
{
    ...
    JavaMediaPlayer->SeekTo(Time.GetMilliseconds());
    ...
}

Time.GetMilliseconds() is used instead of Time.GetTotalMilliseconds()

And I am passing the Timespan with seconds set to 30 but milliseconds set to 0

Also, it appears that even if I create a Timespan and set milliseconds to 30000 and then pass it immediately to GetMilliseconds (all using BP), it still returns 0 since GetMilliseconds() will only return a value between 0 and 1000 as per

int32 GetMilliseconds() const
{
	return (int32)((Ticks / ETimespan::TicksPerMillisecond) % 1000);
}

All this together means that I am only ever going to be able to seek between 0 and 999 milliseconds…

Created pull request for fix (#2797)