c793907a1ca66a06ae18dadb3d2c3ccea3544900cf9ccb5bbf7627566415e186 53e3d35a1de774e294b1b5ea95ef0b2ac007b1477528bd3dc21ca814aff6b348_cAm38Yw signature到底是几位的值呢?用下一个云开发拿到的值是成功加入房间的,是否官网签名算法signature = hmac_sha256([appId, groupId, nonceStr, timeStamp].sort().join(''), sessionKey)还不是全的呢?
实时语音报错invalid signature, 但按照官网签名算法算出的和云开发获得的却不一致?appId:"wx7dccdee50f7c65e8" sessionKey: "Q1Y6wnICdCro/YOuULAsdw==" nonceStr: "54wwge8u8s" timeStamp: 1677487362162 groupId: "语音房间r1evzpi7p09" 签名算法signature = hmac_sha256([appId, groupId, nonceStr, timeStamp].sort().join(''), sessionKey) 按官网https://developers.weixin.qq.com/minigame/dev/guide/open-ability/voip-chat.html#%E7%94%B3%E8%AF%B7%E5%BC%80%E9%80%9A ,获得的值:c793907a1ca66a06ae18dadb3d2c3ccea3544900cf9ccb5bbf7627566415e186 开发者工具云开发获得的值: 53e3d35a1de774e294b1b5ea95ef0b2ac007b1477528bd3dc21ca814aff6b348_cAm38Yw [图片]
2023-02-27