calling: make hostname optional in IceServer type
This commit is contained in:
parent
0999df2d6e
commit
455b616cb8
2 changed files with 4 additions and 4 deletions
|
@ -2691,7 +2691,7 @@ export class CallingClass {
|
|||
: // proritize ice servers with IPs to avoid DNS
|
||||
[
|
||||
{
|
||||
hostname: iceServer.hostname,
|
||||
hostname: iceServer.hostname ?? '',
|
||||
username: iceServer.username,
|
||||
password: iceServer.password,
|
||||
urls: (iceServer.urlsWithIps ?? []).slice(),
|
||||
|
|
|
@ -787,9 +787,9 @@ export type GetAccountForUsernameResultType = z.infer<
|
|||
export type GetIceServersResultType = Readonly<{
|
||||
username: string;
|
||||
password: string;
|
||||
urls: ReadonlyArray<string>;
|
||||
urlsWithIps: ReadonlyArray<string>;
|
||||
hostname: string;
|
||||
urls?: ReadonlyArray<string>;
|
||||
urlsWithIps?: ReadonlyArray<string>;
|
||||
hostname?: string;
|
||||
}>;
|
||||
|
||||
export type GetDevicesResultType = ReadonlyArray<
|
||||
|
|
Loading…
Reference in a new issue