Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LivePusher组件需要bindaudiovolumenotify支持 #9070

Closed
xiaoice opened this issue Apr 9, 2021 · 2 comments
Closed

LivePusher组件需要bindaudiovolumenotify支持 #9070

xiaoice opened this issue Apr 9, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@xiaoice
Copy link

xiaoice commented Apr 9, 2021

这个特性解决了什么问题?

bindaudiovolumenotify eventhandle 否 返回麦克风采集的音量大小 2.12.0

这个 API 长什么样?

支持bindaudiovolumenotify

@xiaoice
Copy link
Author

xiaoice commented Apr 10, 2021

用Taro插件已解决

plugins: [
    ['@tarojs/plugin-inject', {
      components: {
        LivePusher: {
          'bindaudiovolumenotify': 'onAudioVolumeNotify',
          'confirm-type': 'confirmType',
        }
      }
    }],
  ],

@xiaoice xiaoice closed this as completed Apr 10, 2021
@xiaoice xiaoice reopened this Apr 12, 2021
@Chen-jj
Copy link
Contributor

Chen-jj commented Apr 25, 2021

@xiaoice Taro v3.1.0 开始已经支持了 bindaudiovolumenotify

另外 confirm-type 这个属性没有在微信的文档看到?

@Chen-jj Chen-jj closed this as completed Apr 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants