Skip to content

Commit e044e2d

Browse files
committed
fix(calling): reset the call keepalive counter after successful response
1 parent 5fb140f commit e044e2d

File tree

1 file changed

+2
-0
lines changed
  • packages/calling/src/CallingClient/calling

1 file changed

+2
-0
lines changed

packages/calling/src/CallingClient/calling/call.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1531,6 +1531,8 @@ export class Call extends Eventing<CallEventTypes> implements ICall {
15311531
try {
15321532
// eslint-disable-next-line @typescript-eslint/no-unused-vars
15331533
const res = await this.postStatus();
1534+
this.callKeepaliveRetryCount = 0;
1535+
this.callKeepaliveInterval = undefined;
15341536

15351537
log.info(`Session refresh successful`, loggerContext);
15361538
} catch (err: unknown) {

0 commit comments

Comments
 (0)