I'm using VideoJs (using an HTML5 player) to play live content from a DASH or HLS source.
I would like to be able to know how far behind the actual playback is from the actual live content.
How can I do this?
There is a player.currentTime(), and a player.liveTracker.seekableEnd() as described on https://docs.videojs.com/tutorial-live.html, but these are given in relative units and do not necessarily track the content's timeline because of buffering / other network transmission delays.
How do I calculate how far behind (in milliseconds) the player is playing vs what the actual live HLS or DASH live source is outputting?
