feat: add client call feature switches
This commit is contained in:
+2
-2
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user