吉安感知网项目-前端
张含笑
2026-02-10 8fbe24ebe296f12de8224d3445c4c9798d19dfa0
applications/drone-command/src/views/audioCall.vue
@@ -36,10 +36,10 @@
import { ref, computed, onBeforeUnmount } from 'vue'
/** ✅ 你的 WS 地址前缀(后面拼 userId) */
const WS_BASE = 'wss://域名/ws/chat?userId='
const WS_BASE = 'wss://wrj.shuixiongit.com/ws/chat?userId='
const uid = ref('2')
const peerUid = ref('3')
const uid = ref('7')
const peerUid = ref('8')
const connected = ref(false)
const state = ref('idle') // idle | calling | ringing | in-call