[feat] add VideoQuality configuration option to limit maximum video resolution

This commit is contained in:
dijunkun
2025-11-11 10:07:35 +08:00
parent b28f1dca81
commit 2ad32ec2b4
4 changed files with 7 additions and 3 deletions

View File

@@ -225,6 +225,8 @@ void Render::OnReceiveVideoBufferCb(const XVideoFrame* video_frame,
props->video_height_ = video_frame->height;
props->video_size_ = video_frame->size;
LOG_ERROR("receive: {}x{}", props->video_width_, props->video_height_);
if (need_to_update_render_rect) {
render->UpdateRenderRect();
}