None of the above proposals seemed to work but thanks for the well-written comment!
After quite some while of trials, I finally found a working way to seek until the stream end. For some reason timeout is also necessary, probably should be ideally some play callback event. Player.seek()
didn't seem to function at all with my test track.
player = new bitmovin.player.Player(document.getElementById('player-container'), {playback: { live: { edgeThreshold: 5 }, autoplay: true, muted: true}});
player.load(source).then(() => {
if(player.isLive()){
setTimeout(() => player.timeShift(Infinity), 10)
}
}).catch((error) => console.error('Error loading player:', error));