wetfish / sync

Synchronize audio and video between friends! Supports HTML5 video, YouTube, and Vimeo
26 stars 8 forks source link

now resyncs player with the server via adding the latency difference #47

Closed Meleeman01 closed 4 years ago

Meleeman01 commented 4 years ago

basically uses the latency calcuations and adds or subtracts, depending on if the user is ahead or behind the server time, the only case where a user ends up ahead however is when they spam the resync button. this causes the player to hang, and get behind the server time.