for the time when you want to watch something with friends in sync over the net
mpv --script=client.lua
- for clientsmpv --script=master.lua
- for room hosts
Remember: there can be multiple room clients, but there can be only one host.
Client side
- Install
curl
andmpv
- the latter should installlua
- ???
- Profit!
Server/OP side
- Modify index.php - set the password and such
- Host the file somewhere available from both sides. It will act as a backend server
- Distribute or host configured client.lua for others
- Configure your own master.lua and use it as a controller
- ???
- Even more profit!
- Unencrypted pass over raw http is always a good idea (as in, don't use your real password...)
- Dropped frames shouldn't be a problem, but slow connection could