- Android 设备小程序一呼多
我在Android设备端集成了WMPF框架,想要实现设备端呼叫的时候,同时呼叫多个用户,例如用户A 用户B 当用户A接起,用户B挂断 请问是否支持这样的呼叫方式?
10-12 - prefetchDeviceToken() 提示register info invalid?
我的设备前面已经调用registerMiniProgramDevice注册成功,开始是正常的,到后面去调用prefetchDeviceToken() 提示register info invalid,重新调用registerMiniProgramDevice提示{"errcode":9,"errmsg":"device `TjmxBJNFbW_cau-s3GoLzw-YYRG3Z88UV` already registered."} 请问要怎么处理,以便能够再次正常执行prefetchDeviceToken()
10-10 - Android 设备小程序拨打手机小程序闪退
使用微信小程序音视频(for 硬件)的方式在Android 12的设备上运行后,调用initByCaller发起通话,出现通话预览界面后,闪退,日志如下 2024-10-09 08:34:17.259 7982-7982 AndroidRuntime com.tencent.wmpf E FATAL EXCEPTION: main Process: com.tencent.wmpf:container, PID: 7982 java.lang.RuntimeException: java.lang.IllegalArgumentException: getCameraCharacteristics:747: Unable to retrieve camera characteristics for unknown device : No such file or directory (-2) at com.tencent.xweb.ReflectMethod.invoke(ReflectMethod.java:77) at com.tencent.xweb.pinus.ExtendPluginClientInterfaceImpl.onPluginReady(ExtendPluginClientInterfaceImpl.java:41) at com.tencent.xweb.pinus.PSExtendPluginClient.onPluginReady(PSExtendPluginClient.java:23) at com.tencent.xweb.ExtendPluginManager$3.run(ExtendPluginManager.java:169) at android.os.Handler.handleCallback(Handler.java:938) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loopOnce(Looper.java:201) at android.os.Looper.loop(Looper.java:288) at android.app.ActivityThread.main(ActivityThread.java:7880) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003) Caused by: java.lang.IllegalArgumentException: getCameraCharacteristics:747: Unable to retrieve camera characteristics for unknown device : No such file or directory (-2) at android.hardware.camera2.CameraManager.throwAsPublicException(CameraManager.java:1263) at android.hardware.camera2.CameraManager.getCameraCharacteristics(CameraManager.java:591) at android.hardware.camera2.CameraManager.openCameraDeviceUserAsync(CameraManager.java:662) at android.hardware.camera2.CameraManager.openCameraForUid(CameraManager.java:958) at android.hardware.camera2.CameraManager.openCameraForUid(CameraManager.java:979) at android.hardware.camera2.CameraManager.openCamera(CameraManager.java:817) at com.tencent.luggage.voip.service.SameLayerOpenVoiceOpenGlView.g(SameLayerOpenVoiceOpenGlView.kt:206) at r66$b.run(VoipRoomPluginHandler.kt:151) at r66$a.run(VoipRoomPluginHandler.kt:19) at zn.l0(AppBrandRuntime.java:50) at zn.k0(AppBrandRuntime.java:3) at h9.f(AppBrandComponentWxaSharedKT.kt:10) at r66.g(VoipRoomPluginHandler.kt:74) at r66.m(VoipRoomPluginHandler.kt:26) at fv0.e(DefaultExtendPluginClientProxy.java:53) at lk6.onPluginReady(WebViewExtendPluginClient.java:10) at java.lang.reflect.Method.invoke(Native Method) at com.tencent.xweb.ReflectMethod.invoke(ReflectMethod.java:71) at com.tencent.xweb.pinus.ExtendPluginClientInterfaceImpl.onPluginReady(ExtendPluginClientInterfaceImpl.java:41) at com.tencent.xweb.pinus.PSExtendPluginClient.onPluginReady(PSExtendPluginClient.java:23) at com.tencent.xweb.ExtendPluginManager$3.run(ExtendPluginManager.java:169) at android.os.Handler.handleCallback(Handler.java:938) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loopOnce(Looper.java:201) at android.os.Looper.loop(Looper.java:288) at android.app.ActivityThread.main(ActivityThread.java:7880) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003) Caused by: android.os.ServiceSpecificException: getCameraCharacteristics:747: Unable to retrieve camera characteristics for unknown device : No such file or directory (-2) (code 3) at android.os.Parcel.createExceptionOrNull(Parcel.java:2439) at android.os.Parcel.createException(Parcel.java:2409) at android.os.Parcel.readException(Parcel.java:2392) at android.os.Parcel.readException(Parcel.java:2334) at android.hardware.ICameraService$Stub$Proxy.getCameraCharacteristics(ICameraService.java:812) at android.hardware.camera2.CameraManager.getCameraCharacteristics(CameraManager.java:570) at android.hardware.camera2.CameraManager.openCameraDeviceUserAsync(CameraManager.java:662) at android.hardware.camera2.CameraManager.openCameraForUid(CameraManager.java:958) at android.hardware.camera2.CameraManager.openCameraForUid(CameraManager.java:979) at android.hardware.camera2.CameraManager.openCamera(CameraManager.java:817) at com.tencent.luggage.voip.service.SameLayerOpenVoiceOpenGlView.g(SameLayerOpenVoiceOpenGlView.kt:206) at r66$b.run(VoipRoomPluginHandler.kt:151) at r66$a.run(VoipRoomPluginHandler.kt:19) at zn.l0(AppBrandRuntime.java:50) at zn.k0(AppBrandRuntime.java:3) at h9.f(AppBrandComponentWxaSharedKT.kt:10) at r66.g(VoipRoomPluginHandler.kt:74) at r66.m(VoipRoomPluginHandler.kt:26) at fv0.e(DefaultExtendPluginClientProxy.java:53) at lk6.onPluginReady(WebViewExtendPluginClient.java:10) at java.lang.reflect.Method.invoke(Native Method) at com.tencent.xweb.ReflectMethod.invoke(ReflectMethod.java:71) at com.tencent.xweb.pinus.ExtendPluginClientInterfaceImpl.onPluginReady(ExtendPluginClientInterfaceImpl.java:41) at com.tencent.xweb.pinus.PSExtendPluginClient.onPluginReady(PSExtendPluginClient.java:23) at com.tencent.xweb.ExtendPluginManager$3.run(ExtendPluginManager.java:169) at android.os.Handler.handleCallback(Handler.java:938) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loopOnce(Looper.java:201) at android.os.Looper.loop(Looper.java:288) at android.app.ActivityThread.main(ActivityThread.java:7880) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
10-09