I have a janus server. It has 12gb ram and 16 core CPU. I use google server as stun
I have a vue-built client that inhabits kubernetes (the client is built with AI)
When I have there around 27+ people on this server it begins to lag, and if I add more participants, it stops streaming audio and video.
I see no real spikes on CPU-RAM part of the question. Network grows as expected but not critically
For video quality I set 512000 bitrate when joining the room. Audio is 320
Can someone help and tell me where to look for the source of the problem?
I’ve tried increasing max_nack_queue and rtp config.
Increased RAM and CPU
Created a new janus server with even less RAM and CPU and the result is the same
Tried lowering bitrate config and had the same problem
Wtth those numbers, that’s a lot of connections, a very high bitrate (for both server and clients) and so a quite high throughput you’re putting Janus through. You’ll need to tinker with Janus optimization properties, like event loops and helper threads in the VideoRoom. Of course you’ll need to make sure the server does have enough bandwidth, and clients do too. 512k for video seems pointless to me when you have 30 people active, who will all pretty much look like thumbnails: 320k for audio makes even less sense to me, unless you’re doing something that requires that absurd bitrate (the average I usually see for audio is 20k-30k).
Oh, and maybe don’t get AI to write the client side, but that’s just me