By vinny82
on Wed, 05/15/2013 - 18:50
Hi ,
I achieved Video Looping by using setlooping method of mediaplayer in android. But between video ends and restarts there is flicker/gap of 1 second.
We faced similar issue in iOS and we solved the issue by using following lines
if(videoTextureID[playerIndex] == 0 || (videoTexID && videoTextureID[playerIndex] != videoTexID)) { videoTextureID[playerIndex] = videoTexID; } in renderFrameQCAR How i can achieve same in Android JNI code
Video Looping Issue
Hi, in Android samples you can refer to the renderFrame() function in VideoPlayback.cpp and use
videoPlaybackTextureID[currentTarget]
Hi @AlessandroB,
Hi @AlessandroB,