mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Calling: Add cache for relay server requests
Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
This commit is contained in:
@@ -208,3 +208,15 @@ export enum ScreenShareStatus {
|
||||
Reconnecting = 'Reconnecting',
|
||||
Disconnected = 'Disconnected',
|
||||
}
|
||||
|
||||
export type IceServerType = {
|
||||
username?: string;
|
||||
password?: string;
|
||||
hostname?: string;
|
||||
urls: Array<string>;
|
||||
};
|
||||
|
||||
export type IceServerCacheType = {
|
||||
iceServers: Array<IceServerType>;
|
||||
expirationTimestamp: number;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user