[feat] capture cursor when connected to a web client

This commit is contained in:
dijunkun
2025-11-18 16:24:28 +08:00
parent f5d0291b5a
commit 4ba4f17a6b
14 changed files with 42 additions and 18 deletions

View File

@@ -329,8 +329,9 @@ int Render::ScreenCapturerInit() {
int Render::StartScreenCapturer() {
if (screen_capturer_) {
LOG_INFO("Start screen capturer");
screen_capturer_->Start();
LOG_INFO("Start screen capturer, show cursor: {}", show_cursor_);
screen_capturer_->Start(show_cursor_);
}
return 0;