Uriziel/syncplay — pull request #24 by blaenk (2013-06-30 22:59:53+00:00)
Title: added a rewind on desync option

Hey, I love Syncplay. Thanks for making it :)

I use it often with friends, but the problem is that I have a pretty slow connection. If anyone on my LAN does any minor thing, it'll lag my connection to syncplay. This causes frequent slowdowns and rewinds, even though as far as I know we're still in sync (it's just interpreted as desync due to the lag).

I was glad to see an option for 'slow on desync' in 1.2.7 so that we could disable that, but the most jarring of all to us is rewind on desync. Just yesterday, for example, I was lagging so bad that all three of us who were watching a 1 hr 48 minute movie ended up taking much longer to actually finish it because we all kept getting rewinded since they were misinterpreted as being out of sync with me (or vice versa) because of the lag on my connection.

So I added a 'rewind on desync' option. I've tried it so far (by downloading something myself while syncplaying, thereby lagging myself) and it seems to work perfectly.

I think it'd be nice to have this option in Syncplay, as it would complement the 'slow on desync' option well, and it took only a little bit of code to implement (mostly mirroring the 'slow on desync' implementation).

My friends and I are going to be using this modification/patch as sync playing can be unbearable (on slow connections) without it. I just figured I'd attempt to contribute it back.

Thanks again!