fix build error

This commit is contained in:
Dave Horton
2025-01-14 15:12:10 -05:00
parent fe68d2a316
commit a6b8a98a24

View File

@@ -2686,6 +2686,14 @@ Duration=${duration} `
}
}
async startMaxCallDurationTimer(timeLimit) {
if (!this._maxCallDurationTimer && timeLimit > 0) {
this.timeLimit = timeLimit;
this._maxCallDurationTimer = setTimeout(this._onMaxCallDuration.bind(this), timeLimit * 1000);
this.logger.debug(`CallSession:startMaxCallDurationTimer - started max call duration timer for ${timeLimit}s`);
}
}
/**
* _onMaxCallDuration - called when the call has reached the maximum duration
*/