语言

Menu
Sites
Language
Seamless video playback significant pause/freeze

I am currently developing a Tizen client web application for Samsung Smart Digital Signage devices(B2B models) for the marketing platform I am working for.
The client application downloads some files(including videos) from a central application library and displays the contents sequentially in a playlist style formation.
I am currently implementing the videos playlist playback, using the webapis AVPlay API.
The target is to have a seamless playback of the entire playlist, which will repeat itself in a loop.
However, there comes up a problem: There is a significantly noticeable pause/delay between the end of the current video and the start of the next one.
(Originaly, there is a black frame for a split second between two videos, which I erase by using currentPlayer.setVideoStillMode("true") before currentPlayer.stop() and then
nextPlayer.setVideoStillMode("false") before nextPlayer.play() inside the onstreamcomplete callback of the currently active player's listener.

It is noted that the same issue occurs with a variety of different videos.

 

响应

3 回复
Thomas Rodriquez

If the videos are being downloaded from a remote server, network latency can cause delays between video playback. You can try preloading the next video in the playlist while the current video is playing to reduce the delay. You can use the AVPlay API's preload method to load the next video in the background.