Page 1 of 1

Option to set default audio playback device for CEF3

PostPosted: Fri May 31, 2013 10:07 am
by hlevring
I am aware that plugins like flash are responsible for their own audio rendering, but for audio rendered using HTML5 is there a way to let CEF use another device than windows default ? In other words , an option to set default playback device used by CEF .

Re: Option to set default audio playback device for CEF3

PostPosted: Fri May 31, 2013 1:53 pm
by magreenblatt
Is there an option to set this in Chrome? If so, then we can potentially expose the option in CEF.

Re: Option to set default audio playback device for CEF3

PostPosted: Thu Jun 27, 2013 8:56 am
by CoreDump
I would think you would activate whatever audio device you wanted (either Render or Capture) using CoreAudio API and that would be picked up by the HTML 5 app.

http://msdn.microsoft.com/en-us/library ... 02(v=vs.85).aspx

If that device is activated, then the default device would not be used, I would think it would pick up the activated device for that session.
So no changed to the CEF, changes to your application running the CEF.

This is just a guess, I've switched audio devices in applications using CoreAudio API, but never for an HTML 5 app.

Oh CoreAudio API is vista or later, XP will be Mixer API.

CoreDump

Re: Option to set default audio playback device for CEF3

PostPosted: Fri Jun 28, 2013 8:24 am
by CoreDump
Well disregard my post above, it will work, but will turn out to be a hack job. Unfortunately.

Ken

Re: Option to set default audio playback device for CEF3

PostPosted: Fri Aug 09, 2013 11:12 am
by robs
I see that chrome lets you choose the microphone and camera devices for WebRTC pages such as this one:

https://apprtc.appspot.com/

There is a camera icon on the right side of the address bar that you can click to bring up a panel to control these things.

However, I don't see a way to control the audio output device. I guess it always uses the OS default.

It would be nice for CEF to be able to control these things.

Rob

Re: Option to set default audio playback device for CEF3

PostPosted: Tue Apr 28, 2015 6:24 am
by dverma05
Hi magreenblatt,

Is this option available now with current CEF3.

Regards,
Dileep