wx.join1v1Chat可以拨出去但是接收方没任何反应为什么?
<view class="anniu3" style="margin-top:10px" @tap.native.stop="telshipin(user2[0].userid,user2[0].nicheng,user2[0].photo,item.userid,item.username,web+item.photo[0])">拨打视频
telshipin(dauserid, dani, daphoto, jieuserid, jieni, jiephoto) {
console.log("dauserid:", dauserid);
console.log("dani:", dani);
console.log("daphoto:", daphoto);
console.log("jieuserid:", jieuserid);
console.log("jieni:", jieni);
console.log("jiephoto:", jiephoto);
wx.setEnable1v1Chat({
enable: true,
success(res) {
console.log('setEnable1v1Chatres:',res)
wx.join1v1Chat({
listener: { //接入
nickname: jieni,
headImage: jiephoto,
openId: jieuserid, //获取小程序用户的openId
},
caller: { //呼出
nickname: dani,
headImage: daphoto,
openId: dauserid, //获取小程序用户的openId
},
success(res) {
console.log('[startCallWx]res', res)
},
fail(err) {
console.log('[startCallWx]err', err)
}
})
},
fail(err) {
console.error("拨通失败", err)
}
})
}