fix: set fixed time for ringer
element sets lifetime to 60000 which would reject our calls automatically
This commit is contained in:
parent
50ef19b8a8
commit
e9315bbb8d
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue