Hacker News new | ask | show | jobs
by geekuillaume 2922 days ago
I've worked on this for a personal project (that never shipped), specially for music videos so the synchronization needed to be very precise. In the end, I implemented a basic NTP server via websockets to synchronize all clients on the same clock and then just send them the start timestamp of the YouTube video. I achieved sub 50ms sync 75% of the time, making it work for the last 25% was much harder than I expected.