收藏
回答

wx.join1v1Chat 视频通话 苹果手机 画面变形?

代码片段: https://developers.weixin.qq.com/s/aEUnp5mM7tCx

安卓画面正常、苹果画面出现纵向拉伸、该怎么解决?

 bindBtnClick() {
    // 调用如下
    wx.setEnable1v1Chat({
      enable: true,
      success: function (res) { 
        wx.join1v1Chat({
          caller: {
            nickname:
              app.globalData.userInfo.nickName == null
                ? "微信用户"
                : app.globalData.userInfo.nickName,
            headImage:
              app.globalData.userInfo.avatarUrl == null
                ? "https://thirdwx.qlogo.cn/mmopen/vi_32/POgEwh4mIHO4nibH0KlMECNjjGxQUq24ZEaGT4poC6icRiccVGKSyXwibcPq4BWmiaIGuG1icwxaQX6grC9VemZoJ8rg/132"
                : app.globalData.userInfo.avatarUrl,
            openid: app.globalData.openid,
          },
          listener: {
            nickname"哄哄",
            headImage:
              "https://thirdwx.qlogo.cn/mmopen/vi_32/Q3auHgzwzM6JNSU3beDlSrSsxNRvaw4QbaiacuJORYKGiafQpYC3oOztRnBVBxUc8N1L9plictIicAb0yYEicmJHb0g/132",
            openid: this.data.userOpenId,
          }, 
        });
      },
      fail: function (err) { 
      },
    });
  },


回答关注问题邀请回答
收藏
登录 后发表内容