From de4162e7cbf370ce2fe0ab777e1c9e96f14e116a Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期一, 08 九月 2025 17:28:36 +0800
Subject: [PATCH] 测试完成
---
src/components/CallButton/index.vue | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/components/CallButton/index.vue b/src/components/CallButton/index.vue
index 47931a4..40d3705 100644
--- a/src/components/CallButton/index.vue
+++ b/src/components/CallButton/index.vue
@@ -37,15 +37,15 @@
},
},
data() {
- const randomNum = Math.floor(Math.random() * 11) + 1000; // 鍐呴儴瀹氫箟
+ const randomNum = Math.floor(Math.random() * 20) + 1000; // 鍐呴儴瀹氫箟
return {
isCalling: false,
callStatus: "idle", // idle, calling, connected, ended
sipStatus: "鏈繛鎺�",
sipStatusClass: "status-disconnected",
sipConfig: {
- wsUrl: "wss://192.168.10.124:7443",
- sipUri: `${randomNum}` + "@192.168.10.124",
+ wsUrl: "wss://1192.170.66.107:7443",
+ sipUri: `${randomNum}` + "@1192.170.66.107",
password: "Smartor@2023",
displayName: "Web 灏忛緳",
},
@@ -69,6 +69,8 @@
},
},
mounted() {
+ console.log('褰撳墠鍒嗘満鍙�',this.sipConfig);
+
sipService.init(this.sipConfig);
sipService.onStatusChange = (status) => {
this.sipStatus = status.text;
--
Gitblit v1.9.3