ue-softphone-sdk 2.0.3 → 2.0.4
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/ue-softphone-sdk.js +1 -1
- package/package.json +1 -1
- package/src/index.ts +3 -2
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @Author: cuixuecheng
|
|
3
3
|
* @Date: 2023-02-21 18:40:21
|
|
4
4
|
* @LastEditors: 杨钰宸
|
|
5
|
-
* @LastEditTime: 2023-08-
|
|
5
|
+
* @LastEditTime: 2023-08-03 10:01:36
|
|
6
6
|
* @Description:
|
|
7
7
|
*/
|
|
8
8
|
|
|
@@ -396,6 +396,7 @@ export default class ueSoftphone {
|
|
|
396
396
|
loginInfo.data.pushServer,
|
|
397
397
|
loginInfo.data.agent
|
|
398
398
|
);
|
|
399
|
+
debugger;
|
|
399
400
|
if (loginType === "WEBRTC") {
|
|
400
401
|
this.getWebrtcInfo(server, options);
|
|
401
402
|
}
|
|
@@ -2836,7 +2837,7 @@ class ueWebsocket {
|
|
|
2836
2837
|
private ws: any;
|
|
2837
2838
|
constructor(server: string, proto: any) {
|
|
2838
2839
|
//@ts-ignore
|
|
2839
|
-
this.ws = io.connect(server
|
|
2840
|
+
this.ws = io.connect(`wss://${server}`, proto);
|
|
2840
2841
|
}
|
|
2841
2842
|
public on(type: string, callback: Function) {
|
|
2842
2843
|
if (type === "connect") {
|