Unstable connections with 3–4 users

Hi,

We are testing OpenVidu during an integration investigation and are experiencing unstable connections.

What we see:

Session with 3–4 participants
Sometimes one or more users temporarily lose audio/video and disappear from the session
After that, the connection may recover

Errors in logs:

IceConnectionState of RTCPeerConnection (…) changed to “disconnected”.
Possible network disconnection

Environment:

OpenVidu image: openvidu/openvidu-dev:2.30.0
Azure VM: Standard B2ms (2 vCPUs, 8 GB RAM)

Any guidance would be appreciated

Thanks!

2 CPUs is very little compute power for real-time media. OpenVidu will require at least 4 dediceted CPU cores (8 would be better) for it to work smoothly in a production environment, with multiple concurrent sessions between 3-4 participants.

Also, you are deploying openvidu-dev image in an Azure virtualized environment, but openvidu-dev image is reserved for local machines for development purposes. To deploy OpenVidu 2 in a real production environment you must follow these steps: https://docs.openvidu.io/en/2.32.0/deployment/ce/on-premises/

Also, consider using OpenVidu v3 instead, which is completely overhauled and the way to go in 2026. OpenVidu v2 is still well-maintained and will receive security patches from time to time, but won’t receive any more new features.

Best regards!