Hi guys,
I'm new for CEF development. My project is using ppapi to wrap c++ code to be a plugin which is called by javascript. This project is working on Chrome but not CEF. I always stuck in getting <0 result when I want to get a socketFD in c++ plugin every time, I use the same code, same mac pro, same testing process, but different browser and get different result. How do I fix it, do I need to send any arguments to allow using socket by CEF?
I use command-line and send arguments to run my project on Chrome.
In CEF I send the same arguments in OnBeforeCommandLineProcessing which are "no-sandbox", "test-type", AppendSwitchWithValue("touch-devices", "123"), "ppapi-out-of-process", and AppendSwitchWithValue("register-pepper-plugins", plugin path)
Environment:
CEF version: 3.2704
Laptop: Mac pro OS X 10.11.5
javascript + HTML + CEF + Ppapi Plugin
Webserver is running on my mac.