- 按开发文档实现,报错10017,device id not registered?
在application实现init方法,addDevice时也传入了sn,registerMiniProgramDevice也返回成功,调用registerDeviceActivationOutdatedEventListener时判断isActivited = false,但activite device时却报错,确认数据一致,也清除过wmpf缓存,日志如下:invokeSync >>>> request [IS_DEVICE_ACTIVATED] [AbstractWMPFSyncInvokeRequest{clientVersion=0, clientApplicationId='null', clientInvokeToken='null', invokeTimestamp=-1, clientProcessName='null'}] rId [0] newThread(thread : IPCThreadPool#Thread-1) [getIPCBridge] bw:38244042, id:1932598204225, process:com.tencent.wmpf pingBinder:true addIntoSet(com.tencent.wmpf) keep ref of callback(249013508) invokeSync <<<< response [WMPFIsDeviceActivatedResponse{isActivated=false}] rId [0] invokeSync >>>> request [ACTIVATE_DEVICE] [AbstractWMPFSyncInvokeRequest{clientVersion=0, clientApplicationId='null', clientInvokeToken='null', invokeTimestamp=-1, clientProcessName='null'}WMPFActivateDeviceSyncRequest{wmpfDevice=WMPFDevice{hostAppId='wxb...828', productId=5417, keyVersion=1, deviceId='46d3e1834268f9f1', signature='MEYCIQD5q80gQYcJUOJU3Ak/vR0un8A7gyY/KKkDA/qKc8RHyAIhAMZXOdD/acmwVNyi5edCbxAqqkmf/w/gFnlTH6bAxA2H', features=[], signatureTimestamp=0, authType=0}}] rId [1] [getIPCBridge] bw:38244042, id:1932670506358, process:com.tencent.wmpf pingBinder:true addIntoSet(com.tencent.wmpf) keep ref of callback(135998754) newThread(thread : IPCThreadPool#Thread-2) invokeSync <<<< response [WMPFActivateDeviceSyncResponse{invokeToken=''}] rId [1] activate device(WMPFDevice{hostAppId='wxbf....88828', productId=5417, keyVersion=1, deviceId='46d3e1834268f9f1', signature='MEYCIQD5q80gQYcJUOJU3Ak/vR0un8A7gyY/KKkDA/qKc8RHyAIhAMZXOdD/acmwVNyi5edCbxAqqkmf/w/gFnlTH6bAxA2H', features=[], signatureTimestamp=0, authType=0}) failed, please check your device info. reason=(10017,device id not registered) clear invoke token [图片][图片][图片][图片]
09-10 - Api.INSTANCE.launchWxaApp报错10010?
[图片][图片] 根据错误码查询 [图片] 在Activatedevice回包有存储invokenToken,在Application进程初始化也有存储invokenToken的逻辑,为什么有时候会出现报错 accept: FailTaskErrorException(taskError=TaskError{errType=1, errCode=10010, errMsg=inactive or expired}) [图片]
08-17 - 设备每次收到视频通话邀请都会提示申请使用摄像头?
这是设备被视频通话呼叫时的path信息,可以明确appType为0,为正式版。 {"path":"plugin-private://wxf830863afde621eb/pages/call-page-plugin/call-page-plugin?roomType=video&businessType=2&callerName=Chain...groupId=wxf830863afde621ebWmpfVoip11728533693859721252","appType":0,"appid":""} 经过排查发现当Api.INSTANCE.authorizeStatus的结果wmpfAuthorizeStatusResponse.isAuthorize为false时就会出现这个问题,为true时不会,但按照开发者文档说明,仅有开发版和体验版需要调用Api.INSTANCE.authorize来唤起扫码登录,正式版应该是不需要的,而且该问题是近期才出现的,代码逻辑和wmpf的版本都没有去改变,请问是怎么回事? 第一次同意之后,后面在被呼叫的时候,摄像头其实是已经能用的了,但不知道为什么还是有弹窗 [图片]
06-27 - wmpf框架由2.0.0升级到2.2.0之后,预览画面倒置?
利用手机拨打微信视频通话给设备,设备的预览画面会出现倒置,而通话界面却正常 采用setUIConfig又会导致预览画面没有生效而通话界面生效,请问是怎么回事? https://developers.weixin.qq.com/miniprogram/dev/framework/device/voip-plugin/api/setUIConfig.html
06-14