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

如何获取到类似 const stream = await navigator.mediaDevices.getUserMedia({ audio: true });的媒体流 #205

Open
liweiyang2023 opened this issue Dec 29, 2023 · 2 comments

Comments

@liweiyang2023
Copy link

我现在在实现类似gpt的那种动画,用的getUserMedia实现并完成了,但是在某些设备上会出现动画无法动的问题,
想用这个插件做迁移,我要如何获取到类似一样的stream流呢

@liweiyang2023
Copy link
Author

by the way,我也不知道为啥getUserMedia为啥会有设备的问题,我在微信公众号调试这个动画,ios跟网页端可以完美调试,但是安卓设备再重复获取几次媒体流就会获取到空数据了...有没有大哥知道

@NNNNzs
Copy link

NNNNzs commented Jan 18, 2024

onProcessd的buffers转换

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants