Peer-to-peer voice fails on devices, tabs and the autoplay rule far more often than on the network.
Voice goes browser to browser over WebRTC. Our servers only pass the setup messages. The audio goes straight between players and is never recorded. This fits any small-group game or app that wants voice without a media server. The hard parts were not the network. They were devices, tabs and the browser’s autoplay rule. The wiki page How voice works describes the current state.
| Symptom | Cause | Fix |
|---|
| The talk key did nothing when you were alone | The mic opened only when someone could hear you | K now opens the mic whether or not anyone can hear. A player who joins later gets the audio track at once. Open mic still waits for a listener. |
| A second tab cut the call | Every tab joined as the same member, each with a fresh session | One tab holds the group’s voice: the first tab, or the one clicked last. It checks in every 2 s and counts as gone after 10. |
| Silence after a reload | The browser blocks sound until the first click or key press | The voice badge turns amber and says “Press any key to hear voice” until the first click or key. |
| Speaking into the laptop mic after plugging in AirPods | The devices were picked only once | When the devices change, Auto picks again. The new track goes onto every connection with replaceTrack before the old one stops, so nothing is renegotiated. The output device follows too. |
| Browsing the site ended the call | The call lived on the game page | Voice now runs from the app shell for the game you are in. |
| A saved All channel joined as Team | The room learned the channel from a function that only lists connected meshes | The room now gets the channel from Settings. |
The tests fake devices and connections. One browser test plugs in a USB mic in the middle of a line. Another reloads under the real autoplay rule and reads the result from the page’s log, because a test tool’s own clicks count as a user gesture.