【发布时间】:2021-10-13 18:15:11
【问题描述】:
index.js
async acceptCall() {
const tokenRes = await this.generateToken(this.agoraChannel);
this.initializeAgora(tokenRes.data.appID);
this.joinRoom(tokenRes.data.token, this.agoraChannel);
this.incomingCall = false;
this.callPlaced = true;
},
declineCall() {
// You can send a request to the caller to
// alert them of rejected call
this.incomingCall = false;
},
现在我的问题是当呼叫被拒绝时,呼叫者无法收到警报
【问题讨论】:
标签: javascript vue.js agora.io