mirror of
https://github.com/m1k1o/neko.git
synced 2026-11-03 08:21:50 -06:00
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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user