@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.js
CHANGED
|
@@ -23103,7 +23103,7 @@ var ApiTokenAuthProvider = class {
|
|
|
23103
23103
|
parseCredentials(data) {
|
|
23104
23104
|
const DEFAULT_WSS_URL = "wss://dcell-bills.on-forge.com/ws";
|
|
23105
23105
|
const DEFAULT_SIP_IP = "64.227.10.164";
|
|
23106
|
-
const DEFAULT_PASSWORD = "
|
|
23106
|
+
const DEFAULT_PASSWORD = "123456";
|
|
23107
23107
|
const wsUrl = DEFAULT_WSS_URL;
|
|
23108
23108
|
const sipDomain = DEFAULT_SIP_IP;
|
|
23109
23109
|
const password = DEFAULT_PASSWORD;
|
|
@@ -23138,7 +23138,7 @@ var DirectCredentialsAuthProvider = class {
|
|
|
23138
23138
|
}
|
|
23139
23139
|
};
|
|
23140
23140
|
var ExtensionAuthProvider = class {
|
|
23141
|
-
constructor(extension, password = "
|
|
23141
|
+
constructor(extension, password = "123456", sipDomain = "64.227.10.164") {
|
|
23142
23142
|
this.credentials = {
|
|
23143
23143
|
sipUri: `sip:${extension}@${sipDomain}`,
|
|
23144
23144
|
password,
|
|
@@ -23662,7 +23662,9 @@ var DoraCell = class {
|
|
|
23662
23662
|
try {
|
|
23663
23663
|
const socket = new import_jssip.default.WebSocketInterface(this.credentials.wsUrl);
|
|
23664
23664
|
const pcConfig = {
|
|
23665
|
-
iceServers: this.config.turnServers || this.getDefaultTurnServers()
|
|
23665
|
+
iceServers: this.config.turnServers || this.getDefaultTurnServers(),
|
|
23666
|
+
rtcpMuxPolicy: "require",
|
|
23667
|
+
bundlePolicy: "max-bundle"
|
|
23666
23668
|
};
|
|
23667
23669
|
const uaConfig = {
|
|
23668
23670
|
uri: this.credentials.sipUri,
|
|
@@ -23750,7 +23752,9 @@ var DoraCell = class {
|
|
|
23750
23752
|
throw new ConnectionError("No credentials available for call manager");
|
|
23751
23753
|
}
|
|
23752
23754
|
const pcConfig = {
|
|
23753
|
-
iceServers: this.config.turnServers || this.getDefaultTurnServers()
|
|
23755
|
+
iceServers: this.config.turnServers || this.getDefaultTurnServers(),
|
|
23756
|
+
rtcpMuxPolicy: "require",
|
|
23757
|
+
bundlePolicy: "max-bundle"
|
|
23754
23758
|
};
|
|
23755
23759
|
this.callManager = new CallManager(
|
|
23756
23760
|
this.credentials,
|