Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Overview

rdkbrowser2 is the browser application based on WPE, it is integrated with following components which enables it with new features compared with legacy rdkbrowser.

  • injectedBundle : Provides integration Layer for Service manager and Player inside WPE, adds ability to send messages between JavaScript & other application.
  • pxcore-libnode : pxcore - Provides a lightweight Frame-buffer library, pxscene - 2D scene graph API library.
  • wpe-webkit : WebKit porting which is used with Wayland.
  • rdk-logger : Provides console and file level message logging feature to RDK component.
  • westeros : Wayland compositor library that allows applications to create their own Wayland displays, which allows nesting and embedding of third party application

    How to Launch rdkbrowser2 ?

  rdkbrowser2 can be launched in two different ways:

...

    • Standalone mode: --url <url> - Launch opening a specific URL 

      web pages could be launched using rdkbrowser2 by passing the URL. 

      /usr/bin/rdkbrowser2 --url  http://www.google.com

Architecture Diagram

        

draw.io Diagram
diagramNamerdkbrowser2_architecture.drawio
revision1

...

Platform : Provides platform-specific hooks to implement generic algorithms.

rdkbrowser2 Controls

rdkbrowser2-control is an app for discovering RDKBrowser2 RtRemote Server Object and invoking its RtRemote based API.

...

start /usr/bin/rdkbrowser2-control in a separate shell

Sample control sequence:

rdkbrowser2tab = rt.locate()
rdkbrowser2tab.transparentBackground = false
rdkbrowser2tab.proxies = [ { "pattern" "*""useproxy" "http://<ip>:<port>" }]
rdkbrowser2tab.url = "https://www.google.com/"
rdkbrowser2tab.evaluateJavaScript("startTest()")