相关文章推荐
没人理的蚂蚁  ·  java 重定向 ...·  3 月前    · 
纯真的鸵鸟  ·  【消失的代码】Git ...·  1 年前    · 
逃跑的高山  ·  OpenGL 使用 Shader 实现 ...·  1 年前    · 
Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more about Teams

I am attempting to create it so when a user plays a sound, it plays the sound to the users microphone input. Thus when they're in a Skype Call/Game chat/etc it will be played for all users to hear.

Is there any way to play music to the microphone instead of speakers in Javascript/jQuery? If not, does node-webkit give me any more ability to do this?

Hopefully this is well explained, it is a little challenge.

Thanks for any, and all advise!

Won't any sounds coming out of the speakers enter the microphone anyway? Albeit with the room noises too. Matthew Lock Mar 9, 2015 at 1:55

This is not possible from the web browser alone. Most systems aren't even capable of this directly.

It is up to the client to decide how to route audio and there is no control of this within the browser, except for what happens within the page itself.

The best you can do is to recommend to your users how to configure their systems. For your Windows users, they will need a virtual audio loopback driver. http://vb-audio.pagesperso-orange.fr/Cable/

Thanks for contributing an answer to Stack Overflow!

  • Please be sure to answer the question . Provide details and share your research!

But avoid

  • Asking for help, clarification, or responding to other answers.
  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers .