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
|
: // proritize ice servers with IPs to avoid DNS
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
hostname: iceServer.hostname,
|
hostname: iceServer.hostname ?? '',
|
||||||
username: iceServer.username,
|
username: iceServer.username,
|
||||||
password: iceServer.password,
|
password: iceServer.password,
|
||||||
urls: (iceServer.urlsWithIps ?? []).slice(),
|
urls: (iceServer.urlsWithIps ?? []).slice(),
|
||||||
|
|
|
@ -787,9 +787,9 @@ export type GetAccountForUsernameResultType = z.infer<
|
||||||
export type GetIceServersResultType = Readonly<{
|
export type GetIceServersResultType = Readonly<{
|
||||||
username: string;
|
username: string;
|
||||||
password: string;
|
password: string;
|
||||||
urls: ReadonlyArray<string>;
|
urls?: ReadonlyArray<string>;
|
||||||
urlsWithIps: ReadonlyArray<string>;
|
urlsWithIps?: ReadonlyArray<string>;
|
||||||
hostname: string;
|
hostname?: string;
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
export type GetDevicesResultType = ReadonlyArray<
|
export type GetDevicesResultType = ReadonlyArray<
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue