Seamless video playback significant pause/freeze

I want to develope a seamless playback of videos from a playlist, by using the Webapis AVPlay API.
The problem that comes up is that there is a significantly noticeable pause/delay between the end of the current video and the start of the next one.

I am suspecting this is due to nextPlayer.prepare() method taking too long to fetch/decode the next video.

I call the nextPlayer.prepare() method for the next video inside the onstreamcompleted callback of the current video player’s listener right after currentPlayer.stop()

Trying to exploit .prepareAsync() has not been proved effective either, but I am not sure I call it where or how I should for it to work properly, or even it is gonna help at all.

Thank in advance,

You may also want to ask this on the Tizen Developer Forums.

Samsung Developer Relations

1 Like