3
votes

I'm working on AVPlayer + HLS with live stream, Sometimes, the video will fall behind and I need all clients to be in-sync with the stream. How do we know when this happens? I'd want to re-sync it when it falls behind.

Thanks!

2

2 Answers

0
votes

You may use your player API to analyze playback statistics and events like rebuffering.

0
votes

To do so you will need to use the method seekToTime and pass the player current time with the value of the new buffered time.