If I self host some kind of private video chat service, is the video data transferred direct from connected peer to peer? Does it go through the self hosted service instance? Or does that depend on which video server is used?

  • CertifiedDook@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 year ago

    Usually it’s p2p, there’s a moment while initiating the connection where some server is needed for STUN/TURN (i.e. NAT traversal).

    I assume some service may have a fallback for server broadcast instead of p2p, but none that I know of do such a thing.

    • YurkshireLad@lemmy.caOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      Thanks. I’m just curious how much bandwidth would be consumed by the self hosted server if all video traffic is routed through it. If the video traffic is p2p then the self hosted server would be cheaper to maintain.

      • CertifiedDook@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        Of course check the implementation you end up using if it truly is p2p. Also you can analyze the bandwidth of services on your server, which may be useful in your case.