简体   繁体   中英

Javascript detect audio devices

Is there a possibility to detect PC's audio devices from javascript and separate sounds between them? For example sound1 will play through speakers, and sound2 will play through headphones?

It is not possible to do this via javascript from inside of the browser.

Javascript, in a browser, is run within a sandbox and does not have direct access to client system.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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