fix: add missing strings for max_bitrate setting, and improved logging for bitrate (#3656)

This commit is contained in:
Utkarsh Dalal 2025-02-11 19:41:12 +05:30 committed by GitHub
commit ffccc1af9b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View file

@ -1688,7 +1688,7 @@ namespace video {
}
auto bitrate = ((config::video.max_bitrate > 0) ? std::min(config.bitrate, config::video.max_bitrate) : config.bitrate) * 1000;
BOOST_LOG(info) << "Max bitrate is " << config::video.max_bitrate;
BOOST_LOG(info) << "Streaming bitrate is " << bitrate;
ctx->rc_max_rate = bitrate;
ctx->bit_rate = bitrate;