Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
SkyLandBeast opened this issue Nov 19, 2021 · 1 comment

Comments

@SkyLandBeast
Copy link

文件路径: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
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants