@dora-cell/sdk 4.1.4 → 4.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +8 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -23099,7 +23099,7 @@ var ApiTokenAuthProvider = class {
|
|
|
23099
23099
|
parseCredentials(data) {
|
|
23100
23100
|
const DEFAULT_WSS_URL = "wss://dcell-bills.on-forge.com/ws";
|
|
23101
23101
|
const DEFAULT_SIP_IP = "64.227.10.164";
|
|
23102
|
-
const DEFAULT_PASSWORD = "
|
|
23102
|
+
const DEFAULT_PASSWORD = "123456";
|
|
23103
23103
|
const wsUrl = DEFAULT_WSS_URL;
|
|
23104
23104
|
const sipDomain = DEFAULT_SIP_IP;
|
|
23105
23105
|
const password = DEFAULT_PASSWORD;
|
|
@@ -23134,7 +23134,7 @@ var DirectCredentialsAuthProvider = class {
|
|
|
23134
23134
|
}
|
|
23135
23135
|
};
|
|
23136
23136
|
var ExtensionAuthProvider = class {
|
|
23137
|
-
constructor(extension, password = "
|
|
23137
|
+
constructor(extension, password = "123456", sipDomain = "64.227.10.164") {
|
|
23138
23138
|
this.credentials = {
|
|
23139
23139
|
sipUri: `sip:${extension}@${sipDomain}`,
|
|
23140
23140
|
password,
|
|
@@ -23658,7 +23658,9 @@ var DoraCell = class {
|
|
|
23658
23658
|
try {
|
|
23659
23659
|
const socket = new import_jssip.default.WebSocketInterface(this.credentials.wsUrl);
|
|
23660
23660
|
const pcConfig = {
|
|
23661
|
-
iceServers: this.config.turnServers || this.getDefaultTurnServers()
|
|
23661
|
+
iceServers: this.config.turnServers || this.getDefaultTurnServers(),
|
|
23662
|
+
rtcpMuxPolicy: "require",
|
|
23663
|
+
bundlePolicy: "max-bundle"
|
|
23662
23664
|
};
|
|
23663
23665
|
const uaConfig = {
|
|
23664
23666
|
uri: this.credentials.sipUri,
|
|
@@ -23746,7 +23748,9 @@ var DoraCell = class {
|
|
|
23746
23748
|
throw new ConnectionError("No credentials available for call manager");
|
|
23747
23749
|
}
|
|
23748
23750
|
const pcConfig = {
|
|
23749
|
-
iceServers: this.config.turnServers || this.getDefaultTurnServers()
|
|
23751
|
+
iceServers: this.config.turnServers || this.getDefaultTurnServers(),
|
|
23752
|
+
rtcpMuxPolicy: "require",
|
|
23753
|
+
bundlePolicy: "max-bundle"
|
|
23750
23754
|
};
|
|
23751
23755
|
this.callManager = new CallManager(
|
|
23752
23756
|
this.credentials,
|