I have a bare bones web video chat page that works on Chrome. Kind of like apprtc.appspot.com But I want to embed this functionality on c++/c# my application.
So I tried Chromium Embedded Framework (in short, CEF, using cefclient.exe) and WebRTC (getUserMedia) but webcam connectivity is not working at all. I get an error "Failed to get access to local media. Error code was 1."
But in the CEF wiki, it is claimed that WebRTC was added to CEF. The CEF version I am trying out is 3.1364.1094 for Windows.
Any ideas? Does WebRTC really work with CEF? Maybe I may have missed out some steps to make WebRTC work on CEF.
Another observation is that CEF does not show the permissions bar when running a WebRTC webcam demo. I hope this might be the clue though.
You can pass CEF a list of command line arguments. I think the one you want might be:
--enable-media-stream
though you could also try
--enable-usermedia-screen-capturing
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With