1***@qq.com
1***@qq.com
  • 发布:2024-08-24 14:23
  • 更新:2025-10-09 16:37
  • 阅读:462

app端使用livePusher怎么打开闪光灯?

分类:uni-app

想实现app端自定义相机 但是livePusher没找到方法控制闪光灯 因为livePusher占用了相机很多打开闪光灯的方法都受限无法使用

2024-08-24 14:23 负责人:无 分享
已邀请:
k***@163.com

k***@163.com

找到方法了吗

  • 1***@qq.com (作者)

    最后选择了买插件市场一个98的插件

    2024-09-06 18:00

  • 2***@qq.com

    this.livePusher.toggleTorch()

    2025-10-09 16:38

2***@qq.com

2***@qq.com

this.livePusher = uni.createLivePusherContext("livePusher", this);
this.livePusher.toggleTorch()
安卓可以 ios没试
踩了好多坑.......

  • gaga2

    难道这个api是隐藏的吗?官方没看到这个api呢 另外 这个liverPusher必须nvue里面吗 你怎么弄的

    2025-11-06 16:04

要回复问题请先登录注册