RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
Injected bundle is an Integration layer between Service Manager and the player in RDK Browser and WPE.
Code Block | ||
---|---|---|
| ||
The JS Bridge consists of 2 parts:
- execution backend (written in C++)
- client interface to execution backend (this one)
Each part consists of 2 layers:
- object interface (methods calls)
- general messaging (serialized messages)
Each method call JS => C++ is serialized into JSON, trasfered via IPC,
received on another side, mapped into the corresponding method call.
So, the route is:
C++ JS
------------------- -------------------
object interface < < object interface
------------------ | |-------------------
general messaging | | general messaging
------------------ | |-------------------
IPC <===< IPC
Responses and events are transferred in opposite direction (C++ => JS) |
a. Expose C/C++ API using injectedbundle
...