How to Limit Client Bandwidth Usage on OpenVidu 3 with LiveKit (Single Node)

I’m using OpenVidu 3 with LiveKit in a single-node setup. I need to limit the bandwidth usage per client on the server-side. Specifically, I want each participant to use a maximum of 200 kbps in a session how do this ?

Helllo,

Currently there is no way to limit the maximum upload and/or download bandwidth per Participant. OpenVidu will always try to use the maximum estimated available bitrate per WebRTC connection.

You can limit the maximum sent bitrate per published Track from the client-side using the maxBitrate property of the VideoEncoding options. You can learn more about this in LiveKit docs: Codecs and more | LiveKit Docs

I know this is not exactly an answer to your question, but hopefully you can use it to limit the bandwidth used per Room and per Participant.

I think that it would be possible to implement server-side bandwidth limits per Participant thanks to OpenVidu’s integration with mediasoup. If this is something you would like to see in the future, just open an issue in our public repository: GitHub - OpenVidu/openvidu-livekit: Create custom videoconference services with ease.

Hello,

Thank you for your response. I have implemented the client-side bitrate limitation using the maxBitrate property as suggested, and it has resolved my issue for now. I appreciate your guidance!

Best regards,
Darush