You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately the callback OnContextCreated is never called.
Maybe it is related to a wrong thread. The V8 execution must take place on TID_RENDERER thread.
Do you know how to handle callback registration. Is it possible? Maybe another way to achieve it?
It will be nice to have direct communication between C++ and js.
Hi,
I'm trying to register custom callback from JS to C++ using this tutorial: https://bitbucket.org/chromiumembedded/cef/wiki/JavaScriptIntegration#markdown-header-using-js-callbacks. I wrote something like that:
class App : public CefApp, public CefRenderProcessHandler
withOnContextCreated(...)
andvirtual CefRefPtr<CefRenderProcessHandler> GetRenderProcessHandler()
returningthis
.Unfortunately the callback
OnContextCreated
is never called.Maybe it is related to a wrong thread. The V8 execution must take place on TID_RENDERER thread.
Do you know how to handle callback registration. Is it possible? Maybe another way to achieve it?
It will be nice to have direct communication between C++ and js.
We want something like: https://github.com/Igalia/gst-wpe-webrtc-demo. but without additional server.
The text was updated successfully, but these errors were encountered: