SHA256
Убрать настройку таймаута звонка
This commit is contained in:
@@ -44,6 +44,7 @@ const DEFAULT_ICE_SERVERS = Object.freeze([
|
||||
{ urls: 'stun:stun.l.google.com:19302' },
|
||||
]);
|
||||
const CALL_SUMMARY_MIN_TOTAL_MS = 5000;
|
||||
const CALL_PREFLIGHT_TIMEOUT_MS = 6000;
|
||||
const OUTGOING_NO_ACK_TIMEOUT_MS = 10_000;
|
||||
const OUTGOING_DELIVERED_NO_ACK_TIMEOUT_MS = 25_000;
|
||||
const INCOMING_CONNECT_TIMEOUT_MS = 20_000;
|
||||
@@ -269,8 +270,7 @@ function setRemoteSessionId(call, sessionId, reason = '') {
|
||||
}
|
||||
|
||||
function resolveCallPreflightTimeoutMs() {
|
||||
const configured = Number(state?.entrySettings?.callPreflightTimeoutMs || 6000);
|
||||
return Math.max(1000, Math.min(20000, Number.isFinite(configured) ? configured : 6000));
|
||||
return CALL_PREFLIGHT_TIMEOUT_MS;
|
||||
}
|
||||
|
||||
function isSessionReadyForCall() {
|
||||
|
||||
Reference in New Issue
Block a user