i'm developing desktop application shares computer screen other users on internet.
the cef supports webrtc technology , i'm trying use screen sharing. unfortunately cef not support capture of native screen. followed tutorials show how make changes source code of cef share screen, no success.
the processes follow 1 , 2:
1- settings (on windows) specified in: https://bitbucket.org/chromiumembedded/cef/wiki/masterbuildquickstart.md
2- changes specified in: http://arkenthera.github.io/blog/enabling-cef-to-screen-share-using-getusermedia-api/
in process 2 occurred error run patch.bat file located in chromium/src/cef/tools. identified path of specified files within patch.bat incoherent, copied patch.bat chromium/src/cef , ran. in execution error occurred in allow_screen_sharing.patch file located in chromium/src/cef/patch/patches.
this topic (https:// bitbucket.org/chromiumembedded/cef/issues/1065) in cef forum has information on how modify cef support screen sharing. despite making changes, when run cefclient --enable - usermedia -screen- capturing flag , access https:// html5-demos.appspot.com/static/getusermedia/screenshare.html screen capture, message requesting activation of flag.
someone worked o cef screen sharing , successful? know how give support application uses cef?
thank all.
if haven't solved yet (otherwise, other people same problem): have made work in both chromium 53 , 54. have manually edit libcef/browser/browser_host_impl.cc changes in patch file https://github.com/buglloc/cef-builds/blob/master/patches/allow_screen_sharing.patch
the line numbers have changed, have code before/after each change. make changes before ninja build.
Comments
Post a Comment