fix: set fixed time for ringer

element sets lifetime to 60000 which would reject our calls automatically
This commit is contained in:
Jayesh Nirve 2022-07-19 15:18:37 +05:30
parent 50ef19b8a8
commit e9315bbb8d
No known key found for this signature in database
GPG Key ID: F6D9E9BF14C7D103
1 changed files with 1 additions and 1 deletions

View File

@ -419,7 +419,7 @@ class CallSession {
setCallState(CallState.kRinging); setCallState(CallState.kRinging);
ringingTimer = Timer(Duration(milliseconds: 30000 - lifetime), () { ringingTimer = Timer(Duration(seconds: 30), () {
if (state == CallState.kRinging) { if (state == CallState.kRinging) {
Logs().v('[VOIP] Call invite has expired. Hanging up.'); Logs().v('[VOIP] Call invite has expired. Hanging up.');
hangupParty = CallParty.kRemote; // effectively hangupParty = CallParty.kRemote; // effectively