Is it possible to control the "output sound device" from node-webkit?

9 views
Skip to first unread message

james.m...@a-cti.com

unread,
Mar 3, 2014, 8:31:14 PM3/3/14
to node-...@googlegroups.com
I've used the MediaStreamTrack API to get the list of audio and video capture devices to allow users to control the input device for WebRTC calls. See http://stackoverflow.com/a/20087996/552792 for an example. 

However, this doesn't always seem to affect the output device.  We change the "Default" input device to, let's say, "Logitech USB Headset", and the input changes from the default to the headset, but the output still comes out of the speaker.

I don't think WebRTC (getUserMedia and PeerConnection) interoperate with the output device, but I assume there must be some way to control this from Node.js, node-webkit, or a Chrome API.  Is this possible?  If so, how should I get started?

Thank you!

James Mortensen

Denys Khanzhyiev

unread,
Mar 4, 2014, 1:41:02 AM3/4/14
to node-...@googlegroups.com
I think the only option now is third party modules.(node-core-audio for example).
According to this thread 
 
there are only plans to implement the feature in chromium.


--
You received this message because you are subscribed to the Google Groups "node-webkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-webkit...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages