Understanding 'bitrate' option in videoroom

When creating a videoroom we can specify some bitrate options:

room-<unique room ID>: {
        ...
        bitrate = <max video bitrate for senders> (e.g., 128000)
        bitrate_cap = <true|false, whether the above cap should act as a limit to dynamic bitrate changes by publishers, default=false>,
        ...
}

I find that janus sometimes fails to receive video (screen recording) with a low bitrate setting. But instead of blindly increasing the bitrate value, I want to understand how it works first.

Let’s say the bitrate in janus.plugin.videoroom.jcfg is set to 128000, but the client is sending 4k 30fps video that exceeds the set bitrate, what would happen?

Nothing happens. The bitrate value is just a number we send to the client (via RTCP), asking them to stay lower than that value, but they’re free to ignore it.

1 Like

Makes sense. Thank you!