Option to set default audio playback device for CEF3

Think CEF could benefit from a new feature or capability? Discuss CEF feature requests here.

Option to set default audio playback device for CEF3

Postby hlevring » Fri May 31, 2013 10:07 am

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 .
hlevring
Newbie
 
Posts: 3
Joined: Fri May 31, 2013 10:02 am

Re: Option to set default audio playback device for CEF3

Postby magreenblatt » Fri May 31, 2013 1:53 pm

Is there an option to set this in Chrome? If so, then we can potentially expose the option in CEF.
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: Option to set default audio playback device for CEF3

Postby CoreDump » Thu Jun 27, 2013 8:56 am

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
CoreDump
Techie
 
Posts: 25
Joined: Tue Feb 26, 2013 12:47 pm

Re: Option to set default audio playback device for CEF3

Postby CoreDump » Fri Jun 28, 2013 8:24 am

Well disregard my post above, it will work, but will turn out to be a hack job. Unfortunately.

Ken
CoreDump
Techie
 
Posts: 25
Joined: Tue Feb 26, 2013 12:47 pm

Re: Option to set default audio playback device for CEF3

Postby robs » Fri Aug 09, 2013 11:12 am

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
robs
Mentor
 
Posts: 70
Joined: Wed Jun 05, 2013 2:22 pm

Re: Option to set default audio playback device for CEF3

Postby dverma05 » Tue Apr 28, 2015 6:24 am

Hi magreenblatt,

Is this option available now with current CEF3.

Regards,
Dileep
dverma05
Techie
 
Posts: 35
Joined: Wed Apr 01, 2015 5:23 am


Return to Feature Request Forum

Who is online

Users browsing this forum: No registered users and 19 guests