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 <alvarorichard@tuta.io>
This commit is contained in:
KЯØNE
2026-08-28 06:24:47 -03:00
committed by GitHub
parent 44ccf64257
commit 4832522228
+6 -2
View File
@@ -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",