Score:0

Packet loss with local WebRTC clients

bs flag

I stream live audio to clients via WebRTC, and a streaming app called Barix on a local network for translated events.

When there are more than 20 or so clients, the network undergoes significant packet loss at a start of the event, for the first 10-15mn, resulting in the audio cutting and a lot of packet loss if I try to ping any resource on the network.

There are periods of packet loss at other times without any apparent reason as well. The network is disconnected from the internet, and the only resource available on the network is the audio streaming, which doesn't theoretically use much bandwidth. Clients connect via gigabit APs to an Edgerouter X.

Do you know what could cause this or how I could effectively diagnose the issue?

Jaromanda X avatar
ru flag
so clients are wireless (i.e. Wi-Fi)? Perhaps someone uses a microwave :p What bitrate is the audio stream? Is the source connected through wifi as well?
Reedz avatar
bs flag
All clients are connecting with Wi-Fi. I am streaming with ffmpeg using the s16le format, I am not sure what the bitrate is as I kept the default ffmpeg command but I don't think it may be the issue as the traffic doesn't exceed 1mb/s on my EdgeRouter when all clients are connected. Still, I don't know what happens to the traffic during the bad episodes as I can't access the router interface anymore at that point.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.