是否与invokeToken为空有关,采用另一种成功的设备类型测试日志如下:[图片]
按开发文档实现,报错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采用这个方法,由于使用的是内置摄像头,只能更改推流界面,改不了预览界面https://developers.weixin.qq.com/doc/oplatform/Miniprogram_Frame/api/cli/setting/setSetting.htm
wmpf框架由2.0.0升级到2.2.0之后,预览画面倒置?利用手机拨打微信视频通话给设备,设备的预览画面会出现倒置,而通话界面却正常 采用setUIConfig又会导致预览画面没有生效而通话界面生效,请问是怎么回事? https://developers.weixin.qq.com/miniprogram/dev/framework/device/voip-plugin/api/setUIConfig.html
06-15