The demo is lagging and freezing on my end

Hello I have successfully installed the exact same demo of the mediasoup website onto my website. Didn’t change any configuration But unfortunately my version lags or it gets freeze when participants more than one joins or in-between the streaming, but when I try the same demo from the mediasoup demo link it doesn’t lags or freeze.
It’d be really nice if you could guide about what configurations I need to change to have my streaming as smooth as the mediasoup demo website

Here is the link of where I integrated mediasoup:

Ps. Sorry my ssl is self signed.

A response would be highly appreciated.

:wave: @sayamk3004

Have you checked your server’s CPU and RAM usage?
Maximum capacity may have been reached, this is probably the reason for the lags and freezes.

1 Like

Well i found the solution its because i was using the same network connection for both producer and consumer