feat: add client call feature switches

This commit is contained in:
richjohnrambo
2026-09-03 21:05:33 +08:00
parent d6de2a0349
commit c1bfa503cf
9 changed files with 97 additions and 12 deletions
+2 -2
View File
@@ -898,8 +898,8 @@ func (s *Session) hello(msg *ClientComMessage) {
if len(globals.iceServers) > 0 {
params["iceServers"] = globals.iceServers
}
if globals.callEstablishmentTimeout > 0 {
params["callTimeout"] = globals.callEstablishmentTimeout
if timeout := imCallTimeoutSeconds(); timeout > 0 {
params["callTimeout"] = timeout
}
if s.proto == GRPC {