From 48325222282549d59002ae7b938742fbdac39e42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=D0=AF=C3=98NE?= <88117897+alvarorichard@users.noreply.github.com> Date: Fri, 28 Aug 2026 06:24:47 -0300 Subject: [PATCH] This is a no-op with the default configuration: when only a single video pipeline is configured, there is nothing for the stream selector to switch to. The change only has an effect when the operator configures multiple pipelines and enables the bandwidth estimator. (#693) Co-authored-by: alvarorichard --- server/internal/http/legacy/handler.go | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/server/internal/http/legacy/handler.go b/server/internal/http/legacy/handler.go index 04db30f4..e3e8f4e3 100644 --- a/server/internal/http/legacy/handler.go +++ b/server/internal/http/legacy/handler.go @@ -122,9 +122,13 @@ func (h *LegacyHandler) Route(r types.Router) { s.connBackend = connBackend // request signal - if err = s.toBackend(event.SIGNAL_REQUEST, message.SignalRequest{}); err != nil { + videoAuto := true + if err = s.toBackend(event.SIGNAL_REQUEST, message.SignalRequest{ + Video: types.PeerVideoRequest{ + Auto: &videoAuto, + }, + }); err != nil { h.logger.Error().Err(err).Msg("couldn't request signal") - s.toClient(&oldMessage.SystemMessage{ Event: oldEvent.SYSTEM_DISCONNECT, Title: "couldn't request signal",