mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-26 20:25:34 +08:00
[fix] do not show stream window if the client is only in server mode
This commit is contained in:
@@ -311,7 +311,8 @@ void Render::OnConnectionStatusCb(ConnectionStatus status, const char *user_id,
|
|||||||
if (ConnectionStatus::Connecting == status) {
|
if (ConnectionStatus::Connecting == status) {
|
||||||
} else if (ConnectionStatus::Gathering == status) {
|
} else if (ConnectionStatus::Gathering == status) {
|
||||||
} else if (ConnectionStatus::Connected == status) {
|
} else if (ConnectionStatus::Connected == status) {
|
||||||
if (!render->need_to_create_stream_window_) {
|
if (!render->need_to_create_stream_window_ &&
|
||||||
|
!render->client_properties_.empty()) {
|
||||||
render->need_to_create_stream_window_ = true;
|
render->need_to_create_stream_window_ = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
2
thirdparty/projectx
vendored
2
thirdparty/projectx
vendored
Submodule thirdparty/projectx updated: f48d940b80...d40ca8814c
Reference in New Issue
Block a user