简体   繁体   English

Javascript检测音频设备

[英]Javascript detect audio devices

Is there a possibility to detect PC's audio devices from javascript and separate sounds between them? 是否有可能通过javascript检测PC的音频设备并将它们之间的声音分开? For example sound1 will play through speakers, and sound2 will play through headphones? 例如,声音1将通过扬声器播放,声音2将通过耳机播放?

It is not possible to do this via javascript from inside of the browser. 无法从浏览器内部通过javascript执行此操作。

Javascript, in a browser, is run within a sandbox and does not have direct access to client system. 在浏览器中,Javascript在沙箱中运行,无法直接访问客户端系统。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM