Menu

peer to peer version?

2020-05-28
2020-05-28
  • Jud Leonard

    Jud Leonard - 2020-05-28

    I've been wondering how difficult it would be to create a peer-to-peer version of Jamulus. I imagine that it would result in lower latency.

    From 10,000 feet, it seems to need to be something like this:
    1. All participants run both client and server (modified as below)
    2. Client sends the local signal to all other participants with a timestamp
    3. Server adds variable delays to all inputs to match timestamps at mixer
    4. Server mixer output is sent to local user only.

    I'm assuming all participants use NTP to syncronize clocks within a few milliseconds, and there would need to be a way for everyone to identify each other's IP address, etc.

    Without having looked at the code, it seems like this wouldn't be a huge project. Do you see any reason it wouldn't work?

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.