3 ms·
> ... and the client doesn't send any packets when there is silence. Yes and no, there's no packets being passed over the WebRTC connection, but the server mai
by qmarchi 8y ago
> ... and the client doesn't send any packets when there is silence.
Yes and no, there's no packets being passed over the WebRTC connection, but the server maintains a WebSocket connection for state changes. There's two, one to the guild service, which handles assignment of the voice service. Want to count the number of clients connected to a voice server? Count the number of connections.
All Discord clients are connected to Guild services and discord publishes events for voice channel updates to all clients in the guild. (Ex. when a person joins a voice channel.)
Also, for larger discord guilds, there are exclusive voice server pools for them to consume.[1] These servers are configured with more resources and are usually pretty close to exclusive to the single guild. Most of the voice servers are for the millions of other guilds though.
[1] https://discordapp.com/partners https://discordapp.com/partners