Toggle estimator config (#32)

* add estimator to conifg.

* ensure video auto is false when estimator is disabled.
This commit is contained in:
Miroslav Šedivý
2023-02-26 21:54:10 +01:00
committed by GitHub
parent 64abfd0b1a
commit a4a3ff79ad
3 changed files with 81 additions and 38 deletions

View File

@ -40,6 +40,7 @@ func (h *MessageHandlerCtx) signalRequest(session types.Session, payload *messag
}
payload.Video = webrtcPeer.GetVideoID()
payload.VideoAuto = webrtcPeer.VideoAuto()
}
session.Send(