P2p and server load/location


as a non-developer I wonder if this understanding is correct:

If there are only one-to-one calls and p2p is enabled, it does not matter much 1) where the server is located or 2) how powerful the server is, as the communication switches to p2p after the initial contact/connection.

(see below)…

Is that right? And hence would a server configuration like that is

  • 2 vCore
  • 4 GB RAM
  • 40 GB SSD (RAID10)
  • 40 TB Traffic
    be fine for my use case (occasional one-to-one calls from all over the world, but both participants in each call should be in the same country or even city).

(I assume that there is not much traffic via the server under p2p, right?)

Apologies in advance if that question is somehow stupid, I am not a developer…)

Thanks a lot

// Peer-To-Peer mode: used (if enabled) when there are just 2 participants.
p2p: {
// Enables peer to peer mode. When enabled the system will try to
// establish a direct connection when there are exactly 2 participants
// in the room. If that succeeds the conference will stop sending data
// through the JVB and use the peer to peer connection instead. When a
// 3rd participant joins the conference will be moved back to the JVB
// connection.
enabled: true,

P2P may not always be possible then it fallbacks to turnserver or jvb. Both are media relay servers, where the quality and the bandwidth matters.

The specs should be fine if the bandwidth on the server is enough.

1 Like