Setting the camera to be used with WebRTC

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Setting the camera to be used with WebRTC

Postby crtxl » Mon Dec 05, 2016 11:14 am

Hi,

I am using libcef (via CefSharp) for a WinForms-program. I need to use version 47.0.4.
Is it possible for me to set the camera (and microphone) which is used for WebRTC from my program?
My idea is to use the preferences which I can access via "IRequestContext.SetPreference". Can these values be changed at runtime?
Additionally, how can I let the "ask for permission" dialog pop up? In regular Chrome it appears when I go to a site, however, not in CEF. Is this a preference as well?
And lastly, can anybody give me an example how I can add an exeception to the preference "profile.content_settings.exceptions.media_stream_camera"? This might be a more C#-related question. I don't know.

Any help is really appreciated. I am searching and experimenting for days now :(


thansk in advance,
Daniel
crtxl
Newbie
 
Posts: 1
Joined: Mon Dec 05, 2016 11:04 am

Return to Support Forum

Who is online

Users browsing this forum: No registered users and 25 guests