【问题标题】:How to send a request to caller to alert them a reject call?如何向呼叫者发送请求以提醒他们拒绝来电?
【发布时间】: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


    【解决方案1】:

    使用 Agora RTM SDK 接听或拒绝通话,使用以下流程获得动态视频通话体验:https://github.com/akshatvg/Agora-RTM-Call-Invitation

    文档:https://docs.agora.io/en/Real-time-Messaging/rtm_invite_web?platform=Web

    【讨论】:

      猜你喜欢
      • 2012-06-30
      • 1970-01-01
      • 2014-01-05
      • 2013-02-01
      • 1970-01-01
      • 1970-01-01
      • 2022-01-01
      • 1970-01-01
      • 2013-08-27
      相关资源
      最近更新 更多