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

getUserMedia的audio值能设置成扬声器吗? #212

Open
adminlukee opened this issue Feb 29, 2024 · 3 comments
Open

getUserMedia的audio值能设置成扬声器吗? #212

adminlukee opened this issue Feb 29, 2024 · 3 comments

Comments

@adminlukee
Copy link

大老,我想曲系统扬声器的声音,麦克风会录制到外部声音,请问有办法实现吗?

@xiangyuecn
Copy link
Owner

打开回声消除配置,如果浏览器支持,可以消除本机播放出来的声音

@adminlukee
Copy link
Author

打开回声消除配置,如果浏览器支持,可以消除本机播放出来的声音

不好意思,是我描述有误。我只想取本机拨放出来的声音。

@xiangyuecn
Copy link
Owner

如果是外放声音,getUserMedia配置禁用回声消除,可以录制播放出来的声音

录制系统声音,可以调用 navigator.mediaDevices.getDisplayMedia 接口获得音视频流,用Recorder录制这个流中的声音

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