tencentyun / TRTCSDK

腾讯云TRTC音视频服务,国内下载镜像:
https://cloud.tencent.com/document/product/647/32689
1.21k stars 1.07k forks source link

【Web】-【6.5.7272】【发起语言公话类型错误应该为AUDIO_CALL】 #510

Closed SkyLandBeast closed 2 years ago

SkyLandBeast commented 2 years ago

文件路径:Web/TRTCScenesDemo/trtc-calling-web/src/components/audio-call/index.vue 错误代码: handleCallUser: function({ param }) { this.callFlag = true this.$trtcCalling.call({ userID: param, type: this.TrtcCalling.CALL_TYPE.VIDEO_CALL }).then(()=>{ this.callFlag = false this.$store.commit("userJoinMeeting", this.loginUserInfo.userId); this.$store.commit("updateCallStatus", "calling"); this.$store.commit("updateIsInviter", true); }) } 正确代码 handleCallUser: function({ param }) { this.callFlag = true this.$trtcCalling.call({ userID: param, type: this.TrtcCalling.CALL_TYPE.AUDIO_CALL }).then(()=>{ this.callFlag = false this.$store.commit("userJoinMeeting", this.loginUserInfo.userId); this.$store.commit("updateCallStatus", "calling"); this.$store.commit("updateIsInviter", true); })}

Gintangible commented 2 years ago

+1