You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-26 17:03:12 +03:00
This is in ms, not seconds
This commit is contained in:
@@ -139,7 +139,7 @@ export class CallEventHandler {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const timeUntilTurnCresExpire = this.client.getTurnServersExpiry() - Date.now();
|
const timeUntilTurnCresExpire = this.client.getTurnServersExpiry() - Date.now();
|
||||||
logger.info("Current turn creds expire in " + timeUntilTurnCresExpire + " seconds");
|
logger.info("Current turn creds expire in " + timeUntilTurnCresExpire + " ms");
|
||||||
call = createNewMatrixCall(this.client, event.getRoomId(), {
|
call = createNewMatrixCall(this.client, event.getRoomId(), {
|
||||||
forceTURN: this.client._forceTURN,
|
forceTURN: this.client._forceTURN,
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user