I am trying to implement gapless media player. I create a list of MediaPlaybackItem's and add them to an instance of MediaPlaybackList. The media playback items are created for files, uploaded on a server, using MediaSource.CreateFromUri()
.
So far so good, but when I play the media, there is a clearly audible pause when playing transitions from one item to another. I want to avoid this.
According to the documentation:
Items in a MediaPlaybackList are rendered using gapless playback.
However, the gap is there. I tried to set 'MediaPlaybackList.MaxPrefetchTime' but it did nothing.
Is there a way I can implement gapless playing using MediaPlaybackList?