收藏
回答

在苹果电脑上使用模拟器,运行微信小程序,在相机预览界面,无法启用实时监听数据帧的功能,怎么办?

  • 在苹果电脑上,使用模拟器运行微信小程序
  • 在相机预览界面,实时监听相机的数据帧,报错信息如下

```

Error: SystemError (appServiceSDKScriptError)

{"errMsg":"start:fail camera is not found"}

    at Function.errorReport (WAServiceMainContext.js?t=wechat&v=3.14.1:1)

    at Object.<anonymous> (WAServiceMainContext.js?t=wechat&v=3.14.1:1)

    at Object.cb (WAServiceMainContext.js?t=wechat&v=3.14.1:1)

    at J._privEmit (WAServiceMainContext.js?t=wechat&v=3.14.1:1)

    at J.emit (WAServiceMainContext.js?t=wechat&v=3.14.1:1)

    at WAServiceMainContext.js?t=wechat&v=3.14.1:1

    at a (WAServiceMainContext.js?t=wechat&v=3.14.1:1)

    at ze (WAServiceMainContext.js?t=wechat&v=3.14.1:1)

    at Object.He (WAServiceMainContext.js?t=wechat&v=3.14.1:1)

    at ae (WAServiceMainContext.js?t=wechat&v=3.14.1:1)(env: macOS,mp,2.01.2510270; lib: 3.14.1)

  • 在真机环境下,可以正常调用,实时获取相机的数据帧
最后一次编辑于  02-12
回答关注问题邀请回答
收藏

1 个回答

  • 智能回答 智能回答 本次回答由AI生成
    02-10
    有用
    回复 1
    • 到了
      到了
      02-12
      在真机环境下,可以正常调用,实时获取相机的数据帧
      微信开发者工具版本 2.01.2510270

      macOS系统版本 26.2
      02-12
      回复
登录 后发表内容