[fix] do not recreate screen capturer when reload configuration file

This commit is contained in:
dijunkun
2025-05-28 19:15:02 +08:00
parent 7ea26854af
commit 818dab764f
4 changed files with 24 additions and 8 deletions

View File

@@ -432,6 +432,7 @@ void Render::OnConnectionStatusCb(ConnectionStatus status, const char *user_id,
SDL_UpdateTexture(props->stream_texture_, NULL, props->dst_buffer_,
props->texture_width_);
}
render->CleanSubStreamWindowProperties(props);
break;
case ConnectionStatus::IncorrectPassword:
render->password_validating_ = false;