3002252000124 在 2023-09-12 12:27:35 以后能查到有很多通话。 另外,WMPF 1.2 在断网恢复后确实会存在拨打失败的问题,参考这里的 2(1): https://developers.weixin.qq.com/miniprogram/dev/framework/device/voip/guide.html
断网造成下次拨号异常?1、有9台机器用4G卡,欠费断网超过10小时,缴费后网络自动续上。发现拨号都失败了,只能重启才解决问题。 由于机器在学校,看不到当时小程序屏幕发生了什么。 2、其中3002252000124出现的时间是2023-09-12 12:22:48到2023-09-12 12:48:59。 3、没有产生通话记录,所以拿不到openId。 其他机器分别sn是: 3002252000439 3002252000029 3002252000031 3002252000124 3002252000030 3002252000297 3002335000006 3002252000324 3002335000005
2023-09-12这个就是 wmpf 框架服务没有运行了,可以看看系统有什么特殊的设置?例如 MTK 方案里有 DuraSpeed 管理服务等,需要为 wmpf 加白名单。
WMPF2.0 IPC通信错误,invokeAsync failed?invokeAsync failed, get bridge is null by process(com.tencent.wmpf). 时好时坏,有时候重启机器就好了,android13. 1.2版本没出现过这个问题. [getIPCBridge]bindService(bw:82921288, id:505581475721, tid:40, intent:Intent { cmp=com.tencent.wmpf/.app.WMPFService (has extras) }, conn:136542689) 2023-09-12 11:07:11.416 3923-3942 IPC.IPCBridgeManager com.zntk.demo I [getIPCBridge]onConnectTimeout(82921288, id:505581475721, tid : 31) 2023-09-12 11:07:11.416 3923-3960 IPC.IPCInvoker com.zntk.demo E invokeAsync failed, get bridge is null by process(com.tencent.wmpf). 2023-09-12 11:07:11.416 3923-3960 FastExperienceActivity com.zntk.demo E 激活 error: java.lang.Exception: bridge not found
2023-09-12这种一般是网络问题,请求的回复不是正确的 json 内容,你可以 catch 这个 exception,不会导致 app 崩溃吧?
getCallerTicket 偶尔报错?io.reactivex.exceptions.UndeliverableException: com.tencent.wxvoip.ServiceProxy$GetTicketException: Value fail of type java.lang.String cannot be converted to JSONObject at io.reactivex.plugins.RxJavaPlugins.onError(RxJavaPlugins.java:367) at io.reactivex.internal.observers.ConsumerSingleObserver.onSuccess(ConsumerSingleObserver.java:66) at io.reactivex.internal.operators.single.SingleCreate$Emitter.onSuccess(SingleCreate.java:68) Caused by: com.tencent.wxvoip.ServiceProxy$GetTicketException: Value fail of type java.lang.String cannot be converted to JSONObject at com.tencent.wxvoip.ServiceProxy.getCallerTicket(Unknown Source:615) service.getCallerTicket 这个接口报出异常导致App崩溃 Value fail of type java.lang.String cannot be converted to JSONObject 麻烦看一下是因为什么
2023-09-11可以根据以下数据进行参考换算: 一台设备的 voip 视频通话带宽需求在 400kbps 左右,一分钟需要10 ~ 30 MB 的流量,当然这些不是固定的,会根据网络质量调节。
voip通话的网络要求的标准是多少呢?学校方面要求咱们出个标准:百兆、二百兆、千兆、各能带起几台机器、或是网络其他要求什么标准?学校本来是提供网络的,都自认为自己学校的网络还很好,目前来看提供网络的学校无线不行、带宽低的不行 这个标准需要怎么样测算?
2023-09-11这边查了一下: 时间 :2023-09-06 10:01:10 sn: GTB220220908001641 时间 :2023-09-07 17:23:00 sn: GTB220220908003717 ---- 这两个 case 是微信侧没有接听 timeout 了 时间 :2023-09-07 17:24:10 sn: GTB220220908001650时间 :2023-09-08 18:04:30 sn: GTB220220908001647时间 :2023-09-08 21:40:50 sn: GTB220220908001654 ---- 这三个 case 是用户手动挂断 时间 :2023-09-08 17:59:00 sn: GTB220220908001647 ---- 这个 case 是设备侧调接口挂断
voip接听不到电话?(安卓)WMPF 版本号:如 v1.2.0 VoIP 插件版本号:如 v2.3.1小程序 appId: 如 wx2f8f3fe3af003989openid:oxfUN5StLhQtoNsOz899uwMK4Svo 时间 :2023-09-08 21:40:50 sn: GTB220220908001654时间 :2023-09-08 18:04:30 sn: GTB220220908001647时间 :2023-09-08 17:59:00 sn: GTB220220908001647时间 :2023-09-07 17:24:10 sn: GTB220220908001650时间 :2023-09-07 17:23:00 sn: GTB220220908003717时间 :2023-09-06 10:01:10 sn: GTB220220908001641
2023-09-11这个是底层的 rpmbd 服务在进行 rpmb 读时发生 IO 错误,1.5 版本的 rpmbd 针对 RK 一些平台优化过一波,可以尝试一下。
获取设备getCallerTicket偶尔会报错?--------- beginning of crash 09-01 18:31:56.043 1796 3078 E AndroidRuntime: FATAL EXCEPTION: Binder:1796_8 09-01 18:31:56.043 1796 3078 E AndroidRuntime: Process: app.wxphone, PID: 1796 09-01 18:31:56.043 1796 3078 E AndroidRuntime: io.reactivex.exceptions.UndeliverableException: com.tencent.wxvoip.ServiceProxy$GetTicketException: EMMC 1 09-01 18:31:56.043 1796 3078 E AndroidRuntime: at io.reactivex.plugins.RxJavaPlugins.onError(RxJavaPlugins.java:367) 09-01 18:31:56.043 1796 3078 E AndroidRuntime: at io.reactivex.internal.observers.ConsumerSingleObserver.onSuccess(ConsumerSingleObserver.java:66) 09-01 18:31:56.043 1796 3078 E AndroidRuntime: at io.reactivex.internal.operators.single.SingleCreate$Emitter.onSuccess(SingleCreate.java:68) 09-01 18:31:56.043 1796 3078 E AndroidRuntime: at app.wxphone.utils.Api$activateDevice$1$result$1.onCallback(Api.kt:108) 09-01 18:31:56.043 1796 3078 E AndroidRuntime: at app.wxphone.utils.Api$activateDevice$1$result$1.onCallback(Api.kt:97) 09-01 18:31:56.043 1796 3078 E AndroidRuntime: at com.tencent.mm.ipcinvoker.IPCInvoker$IPCInvokeCallbackWrapper.onCallback(IPCInvoker.java:246) 09-01 18:31:56.043 1796 3078 E AndroidRuntime: at com.tencent.mm.ipcinvoker.aidl.AIDL_IPCInvokeCallback$Stub.onTransact(AIDL_IPCInvokeCallback.java:68) 09-01 18:31:56.043 1796 3078 E AndroidRuntime: at android.os.Binder.execTransact(Binder.java:731) 09-01 18:31:56.043 1796 3078 E AndroidRuntime: Caused by: com.tencent.wxvoip.ServiceProxy$GetTicketException: EMMC 1 09-01 18:31:56.043 1796 3078 E AndroidRuntime: at com.tencent.wxvoip.ServiceProxy.getCallerTicket(Unknown Source:556) 09-01 18:31:56.043 1796 3078 E AndroidRuntime: at app.wxphone.utils.RequestsRepo.getCallerTicket(RequestsRepo.kt:115) 09-01 18:31:56.043 1796 3078 E AndroidRuntime: at app.wxphone.utils.Api.getCallerTicket(Api.kt:717) 09-01 18:31:56.043 1796 3078 E AndroidRuntime: at app.wxphone.controller.DeviceController.la
2023-09-05这个错误是因为你没有使用 https://developers.weixin.qq.com/doc/oplatform/Miniprogram_Frame/api/client/RegisterMiniProgramDevice.html 里的方式来注册设备并成功。 以前的方式是使用 registerVoipDevice 配合 getCallerTicket 来使用,切到了 WMPF 注册后,你应该使用新的注册方式了,新的注册方式也可参考 demo 代码 https://git.weixin.qq.com/wxa_iot/voipdemo 里的 wmpf2.0_cli 分支。
使用RegisterMiniProgramDevice时报错?设备端使用 WMPF 方式注册设备,设备端无法拨打小程序,报错getWMPFDeviceToken:fail:register info invalid[图片]
2023-08-30这个异常是写 key 失败。 你能使用 mmc 相关的工具来读写 rpmb 分区,理论上只要集成对应版本的 rpmbd 就可以,建议使用 1.5 版本的。 需要注意的是,voip 业务需要一块未被写过 key 的芯片,另外,你也可以使用 voipsdk-1.5.1 版本,此版本优化了对 rpmb 的写入逻辑。
注册voip结果异常,mmc命令能读取到数据,是哪里导致的?08-27 16:12:13.444 3911 3911 I Binder:3911_4: type=1400 audit(0.0:897): avc: denied { call } for scontext=u:r:untrusted_app_29:s0:c124,c256,c512,c768 tcontext=u:r:rpmbd:s0 tclass=binder permissive=1 app=com.tencent.wmpf.demo.voip 08-27 16:12:13.704 1935 1935 W HidlServiceManagement: Waited one second for android.hardware.radio@1.1::IRadio/slot1 08-27 16:12:13.705 141 141 I hwservicemanager: Since android.hardware.radio@1.1::IRadio/slot1 is not registered, trying to start it as a lazy HAL. 08-27 16:12:13.706 1935 1935 I HidlServiceManagement: getService: Trying again for android.hardware.radio@1.1::IRadio/slot1... 08-27 16:12:13.821 3911 3934 W System.err: com.tencent.wxvoip.ServiceProxy$RegisterException: register: emmc write fail00 08-27 16:12:13.822 3911 3934 W System.err: at com.tencent.wxvoip.ServiceProxy.registerVoipDevice(Unknown Source:120) 08-27 16:12:13.822 3911 3934 W System.err: at com.tencent.wmpf.demo.activity.SplashActivity$SqlTime$1$2$1.accept(SplashActivity.java:301) 08-27 16:12:13.822 3911 3934 W System.err: at com.tencent.wmpf.demo.activity.SplashActivity$SqlTime$1$2$1.accept(SplashActivity.java:283) 08-27 16:12:13.822 3911 3934 W System.err: at io.reactivex.internal.observers.ConsumerSingleObserver.onSuccess(ConsumerSingleObserver.java:63) 08-27 16:12:13.822 3911 3934 W System.err: at io.reactivex.internal.operators.single.SingleCreate$Emitter.onSuccess(SingleCreate.java:68) 08-27 16:12:13.822 3911 3934 W System.err: at com.tencent.wmpf.demo.Api$activateDevice$1$result$1.onCallback(Api.kt:87) 08-27 16:12:13.822 3911 3934 W System.err: at com.tencent.wmpf.demo.Api$activateDevice$1$result$1.onCallback(Api.kt:80) 08-27 16:12:13.823 3911 3934 W System.err: at com.tencent.mm.ipcinvoker.IPCInvoker$IPCInvokeCallbackWrapper.onCallback(IPCInvoker.java:246) 08-27 16:12:13.823 3911 3934 W System.err: at com.tencent.mm.ipcinvoker.aidl.AIDL_IPCInvokeCallback$Stub.onTransact(AIDL_IPCInvokeCallback.java:68) 08-27 16:12:13.823 3911 3934 W System.err: at android.os.Binder.execTransactInternal(Binder.java:1154) 08-27 16:12:13.823 3911 3934 W System.err: at android.os.Binder.execTransact(Binder.java:1123) 08-27 16:12:13.823 3911 3934 I System.out: 注册voip结果异常register: emmc write fail00 mmmc命令读取 [图片]
2023-08-28可以看看这里:https://developers.weixin.qq.com/doc/oplatform/Miniprogram_Frame/api/client/InitGlobalConfig.html
horMirror 设置后设备端镜像了,如何只修改手机端?问题同上 下边是小程序里的预览页面 [图片] 下边是相机再带的预览画面 [图片]
2023-08-0710014 的错误码就是激活签名错误。 理论上你使用同一组公私钥,然后根据你的私钥针对不同的productid、deviceid 生成签名是可以的。请仔细检查是否有别的原因,或换一组公私钥试一试?
不同的productId可以公用相同的公钥吗?在开发过程中创建了两个硬件设备机型,共用了一组密钥,A硬件设备类型对应的productId签名可以授权成功,B硬件设备类型对应的productId签名授权报错10014。 授权过程中只要使用A对应的productId签名,分别使用A和B对应的HOST_APPID都可以授权成功。
2023-07-27