From da890b40fc32cb8565b8fdce96e4571b33cd739f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20=C5=A0ediv=C3=BD?= Date: Thu, 29 May 2025 11:59:51 +0200 Subject: [PATCH] implicit control is disabled by default in legacy mode. --- internal/types/room_api_v3.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/internal/types/room_api_v3.go b/internal/types/room_api_v3.go index 1e302ee..dbcdc5c 100644 --- a/internal/types/room_api_v3.go +++ b/internal/types/room_api_v3.go @@ -73,9 +73,12 @@ func (settings *RoomSettings) toEnvV3(config *config.Room, ports PortSettings) [ env = append(env, "NEKO_SESSION_CONTROL_PROTECTION=true") } - // implicit control - enabled by default + // implicit control - enabled by default but in legacy mode disabled by default + // so we need to set it explicitly until legacy mode is removed if !settings.ImplicitControl { env = append(env, "NEKO_SESSION_IMPLICIT_HOSTING=false") + } else { + env = append(env, "NEKO_SESSION_IMPLICIT_HOSTING=true") } if settings.VideoCodec != "VP8" { // VP8 is default