module

Modular A/V: P2P

Endorsements
0
Installs
0.00%
Comments
0
Latest version0.14.1
Minimum Core14
Compatible Core14.369
Last updated6 hours ago
Created6 hours ago
Authors
Languages English
Systems All systems
Project source Project URL
Report bugs Bug tracker URL
License License URL

A service for Modular A/V that carries calls directly between players' browsers: no media server, no account, and no GM needed online. Each browser sends to each of the others, so it suits small tables, up to about six players. Requires Modular A/V (modular-av).

Setting it up

  1. Install and enable it in your world along with Modular A/V.
  2. If the world has more than one service enabled, choose P2P in Modular A/V's settings, under Voice and video service.
  3. For players behind strict networks (some routers and company networks don't let browsers reach each other), set a relay (TURN) server in Foundry's own A/V settings. P2P uses it.

What it does

  • Direct calls: players' browsers connect to each other, and Foundry's own connection carries the messages that set the call up. Nothing to host or sign up for.
  • Most players in a call (world setting): 2 to 10, 6 by default. GMs can always join. Another player past the limit is told the call is full.
  • STUN servers (world setting): help browsers find a way to each other through their routers. Used only when Foundry's A/V settings name no relay server. Leave it empty for players on the same network.
  • Send everything through the relay server (world setting): with a TURN server set in Foundry's A/V settings, players never see each other's IP addresses, at the cost of the relay's bandwidth.
  • A GM's block on a player's audio or video is enforced by everyone else's browser, which refuses that player's audio or video.
  • Works with everything else in Modular A/V: the dock, screen sharing with its sound, noise cancellation, camera background and the audio mixer.

Good to know

  • Requires Foundry v14 and Modular A/V. Tested in Chromium browsers.
  • Each browser uploads its camera and microphone once for every other player, so calls get heavy past about six players. For a bigger table, use Modular A/V: LiveKit.
  • Network: the other players' browsers, the STUN servers in its settings (by default Google's stun.l.google.com and Twilio's global.stun.twilio.com), and the relay server from Foundry's A/V settings if one is set. Without a relay server, players' browsers learn each other's IP addresses.
  • Storage: its three world settings.
  • License: MIT. It bundles no third-party code.

Links

Subscribe
Notify of
0 Comments
0
Would love your thoughts, please comment.x
()
x