sip.js: ConfigurationParameters: Correct ws_uri signature

This property accepts a string, or an array of strings and objects.
This commit is contained in:
Sean Bright
2017-06-15 08:44:06 -04:00
parent 00ab3a3d2a
commit bda10b63ed

View File

@@ -183,7 +183,7 @@ export namespace WebRTC {
/* Parameters */
export interface ConfigurationParameters {
uri?: string;
wsServers?: string | string[] | Array<{ ws_uri: string; weigth: number }>;
wsServers?: string | Array<string | { ws_uri: string; weight?: number }>;
allowLegacyNotifications?: boolean;
authenticationFactory?: WebRTC.MediaHandlerFactory;
authorizationUser?: string;