
{"id":13029,"date":"2026-09-22T05:47:37","date_gmt":"2026-09-22T05:47:37","guid":{"rendered":"https:\/\/developer.rdkcentral.com\/documentation\/?page_id=13029"},"modified":"2026-09-22T06:55:18","modified_gmt":"2026-09-22T06:55:18","slug":"essos","status":"publish","type":"page","link":"https:\/\/developer.rdkcentral.com\/documentation\/documentation\/rdk_video_documentation\/components\/essos\/","title":{"rendered":"Essos"},"content":{"rendered":"\n<p>Essos is a C library that abstracts the platform-level complexity of creating single-window, OpenGL ES2 rendering applications in the RDK middleware stack. It provides a unified context-based API that allows an application to target either a Wayland compositor or a native EGL surface without changing the application logic. At startup, Essos automatically selects the appropriate rendering backend based on the runtime environment, and it manages the full lifecycle of the EGL display, surface, and context on the application&#8217;s behalf. Beyond graphics setup, Essos routes keyboard, pointer, touch, and gamepad input to the application through a set of listener callback interfaces, shielding the application from the differences between Wayland seat protocol and Linux evdev input handling.<\/p>\n\n\n\n<p>Within the RDK stack, Essos sits at the boundary between application code and the graphics\/input infrastructure. In Wayland mode it operates as a Wayland client, connecting to the Westeros compositor to receive display geometry updates and input events. In direct mode it uses westeros-gl, the RDK graphics abstraction layer, to obtain a native EGL window and to register for display-size-change notifications directly from the platform. This dual-mode design means that a single application binary can run both as an embedded Wayland surface managed by Westeros and as a standalone full-screen EGL application, depending solely on the availability of a Wayland display at runtime.<\/p>\n\n\n\n<p>At the module level, Essos exposes three header-level subsystems to callers: the application context API for lifecycle and EGL management, the system configuration API for mode selection, window geometry, and EGL attribute control, and the gamepad API for controller discovery and event delivery. All state is encapsulated inside an opaque <code>EssCtx<\/code> handle, and all operations on that handle are protected by an internal mutex, allowing the application&#8217;s render thread to coexist safely with asynchronous callbacks.<\/p>\n\n\n\n<div class=\"wp-block-merpress-mermaidjs diagram-source-mermaid\"><pre class=\"mermaid\">flowchart LR\n\nclassDef Apps stroke:#00B9F1,fill:#E6F7FD,stroke-width:2px;\nclassDef RDKMW stroke:#75D701,fill:#F1FFE6,stroke-width:2px;\nclassDef VL stroke:#808080,fill:#F2F2F2,stroke-width:2px;\n\nsubgraph Apps[\"Apps and Runtimes\"]\n    AppCode[\"Application\"]\n    WPE[\"WPE Runtime\"]\nend\n\nsubgraph RDKMW[\"RDK Core Middleware\"]\n    Essos[\"Essos\"]\n    Westeros[\"Westeros Compositor\"]\n    WestGL[\"westeros-gl\"]\n    Thunder[\"WPEFramework Thunder\"]\nend\n\nsubgraph VL[\"Vendor Layer\"]\n    HAL[\"EGL and GPU HAL\"]\n    InputDev[\"Linux Input Subsystem\"]\nend\n\nAppCode -->|\"Essos API\"| Essos\nWPE -->|\"Essos API\"| Essos\nEssos -->|\"Wayland Protocol\"| Westeros\nEssos -->|\"WstGL API\"| WestGL\nEssos -->|\"evdev Events\"| InputDev\nWestGL --> HAL\nWesteros --> HAL\n\nclass AppCode,WPE Apps\nclass Essos,Westeros,WestGL,Thunder RDKMW\nclass HAL,InputDev VL<\/pre><\/div>\n\n\n\n<p><strong>Key Features &amp; Responsibilities:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Dual-mode rendering backend<\/strong>: Supports running as either a Wayland client or a direct native EGL application, with automatic mode detection via the <code>WAYLAND_DISPLAY<\/code> environment variable at initialization time.<\/li>\n\n\n\n<li><strong>EGL lifecycle management<\/strong>: Performs the full EGL setup sequence \u2014 display acquisition, configuration selection, context creation, and window surface creation \u2014 on behalf of the application, while also allowing applications to take over EGL creation manually.<\/li>\n\n\n\n<li><strong>Unified input routing<\/strong>: Delivers keyboard, pointer, multi-touch (up to ten simultaneous contacts), and gamepad events to the application through typed listener callback structures, abstracting the difference between Wayland seat input and Linux evdev input.<\/li>\n\n\n\n<li><strong>Gamepad discovery and hotplug<\/strong>: Monitors <code>\/dev\/input\/<\/code> for gamepad devices using inotify in direct mode and notifies the application of connect and disconnect events; provides button and axis maps using Linux input identifiers.<\/li>\n\n\n\n<li><strong>Display geometry and safe-area notification<\/strong>: Receives display size and safe-area information from the platform (either via the Wayland output protocol or the westeros-gl display-size callback) and forwards it to the application through the settings listener interface.<\/li>\n\n\n\n<li><strong>Window position and focus control<\/strong>: In Wayland mode with an extended shell protocol, allows the application to set its window geometry and request input focus programmatically.<\/li>\n\n\n\n<li><strong>Key repeat generation<\/strong>: Implements software key repeat with a configurable initial delay and repeat period, generating repeat events independently of the underlying input source.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Design<\/h2>\n\n\n\n<p>Essos is designed around a single opaque context object (<code>EssCtx<\/code>) that aggregates all rendering, input, and platform state for one application window. The design principle is to minimise the boilerplate an application must write to go from process start to a rendering loop: after creating and starting a context, the application only needs to call the event loop function and the display update function on each frame. The context guards all shared state with a single mutex, which keeps the threading contract simple and explicit. Platform differences are encapsulated behind two compile-time code paths \u2014 a Wayland path and a direct (westeros-gl) path \u2014 selected by <code>HAVE_WAYLAND<\/code> and <code>HAVE_WESTEROS<\/code> preprocessor flags respectively, so the rest of the code remains platform-neutral.<\/p>\n\n\n\n<p>The northbound interface is the public C API defined in <code>essos-app.h<\/code>, <code>essos-system.h<\/code>, and <code>essos-game.h<\/code>. Applications register typed listener structures containing function pointers; Essos invokes those pointers synchronously inside <code>EssContextRunEventLoopOnce()<\/code> on the application&#8217;s thread. Callbacks are delivered on the application&#8217;s own thread, so no additional synchronisation is needed between the application&#8217;s render state and Essos callbacks.<\/p>\n\n\n\n<p>The southbound interface in Wayland mode is the standard Wayland client protocol: Essos connects to the compositor display, binds <code>wl_compositor<\/code>, <code>wl_seat<\/code>, <code>wl_output<\/code>, <code>wl_shell<\/code>, and optionally <code>wl_simple_shell<\/code>, and registers listeners for each. In direct mode the southbound interface is westeros-gl, which is accessed both through its static API (<code>WstGLInit<\/code>, <code>WstGLCreateNativeWindow<\/code>) and through optional symbol lookup at runtime via <code>dlopen(\"libwesteros_gl.so.0.0.0\")<\/code> for extended capabilities such as display-size listener registration, safe-area query, display capabilities query, and mode setting. This runtime lookup means Essos can operate even when those extended symbols are absent.<\/p>\n\n\n\n<p>EGL setup in the automatic path follows the standard sequence: <code>eglGetDisplay<\/code> \u2192 <code>eglInitialize<\/code> \u2192 <code>eglChooseConfig<\/code> (matching the desired RGBA component sizes exactly) \u2192 <code>eglCreateContext<\/code> \u2192 <code>eglCreateWindowSurface<\/code> \u2192 <code>eglMakeCurrent<\/code>. The display type passed to <code>eglGetDisplay<\/code> is the native Wayland display handle in Wayland mode and <code>EGL_DEFAULT_DISPLAY<\/code> in direct mode, with westeros-gl providing the underlying native window. Applications that require control over EGL configuration can override the default attribute arrays for config selection, surface creation, and context creation before starting.<\/p>\n\n\n\n<div class=\"wp-block-merpress-mermaidjs diagram-source-mermaid\"><pre class=\"mermaid\">graph TD\n\nsubgraph EssosLib[\"Essos Library\"]\n    subgraph AppCtx[\"Application Context\"]\n        CTX[\"Context Lifecycle\"]\n        EGLMgr[\"EGL Management\"]\n        EvLoop[\"Event Loop\"]\n    end\n    subgraph SysCfg[\"System Configuration\"]\n        ModeSel[\"Mode Selection\"]\n        WinCtrl[\"Window Control\"]\n    end\n    subgraph InputSub[\"Input Subsystem\"]\n        KeyHdlr[\"Keyboard and Key Repeat\"]\n        PtrHdlr[\"Pointer Handler\"]\n        TchHdlr[\"Touch Handler\"]\n        GPHdlr[\"Gamepad Handler\"]\n    end\n    subgraph PlatformBE[\"Platform Backend\"]\n        WLBknd[\"Wayland Backend\"]\n        DirBknd[\"Direct Backend\"]\n    end\nend\n\nAppCode[\"Application Code\"]\nWayComp[\"Wayland Compositor\"]\nWstGLLib[\"westeros-gl\"]\nLinInput[\"Linux Input Devices\"]\n\nAppCode --> CTX\nCTX --> ModeSel\nModeSel --> WLBknd\nModeSel --> DirBknd\nEvLoop --> KeyHdlr\nEvLoop --> PtrHdlr\nEvLoop --> TchHdlr\nEvLoop --> GPHdlr\nWLBknd -->|\"wl_display connect\"| WayComp\nWLBknd --> KeyHdlr\nWLBknd --> PtrHdlr\nWLBknd --> TchHdlr\nDirBknd -->|\"WstGLInit\"| WstGLLib\nDirBknd --> LinInput\nDirBknd --> KeyHdlr\nDirBknd --> PtrHdlr\nDirBknd --> TchHdlr\nDirBknd --> GPHdlr\nEGLMgr --> WLBknd\nEGLMgr --> DirBknd<\/pre><\/div>\n\n\n\n<h4 class=\"wp-block-heading\">Threading Model<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Threading Architecture<\/strong>: Single-threaded event-driven<\/li>\n\n\n\n<li><strong>Main Thread<\/strong>: The application&#8217;s render thread owns the <code>EssCtx<\/code>. All public API calls, event processing, and listener callbacks execute on this thread. <code>EssContextRunEventLoopOnce()<\/code> must be called regularly from the same thread that called <code>EssContextStart()<\/code>.<\/li>\n\n\n\n<li><strong>Synchronization<\/strong>: A single <code>pthread_mutex_t<\/code> embedded in <code>EssCtx<\/code> protects all fields that can be read or written by public API calls. The mutex is locked and unlocked inside each API function. Listener callbacks are invoked with the mutex released, so an application callback may safely call back into the Essos API.<\/li>\n\n\n\n<li><strong>Async \/ Event Dispatch<\/strong>: In Wayland mode, the event loop polls the Wayland display file descriptor with <code>poll()<\/code> at zero timeout and then dispatches pending events synchronously before returning to the caller. In direct mode, evdev file descriptors for all open input devices are polled similarly. Key repeat events are generated synthetically inside the event loop based on wall-clock timestamps, so no additional timer mechanism is required.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Prerequisites and Dependencies<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">Platform and Integration Requirements<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Build Dependencies<\/strong>: <code>wayland-client<\/code> (>= 1.6.0), <code>wayland-egl<\/code>, <code>libxkbcommon<\/code> (>= 0.5.0), EGL (any version). When the <code>westeros<\/code> package config is enabled: <code>westeros-simpleshell<\/code> client library and a platform-provided <code>virtual\/westeros-soc<\/code> implementation.<\/li>\n\n\n\n<li><strong>Device Services \/ HAL<\/strong>: westeros-gl provides the native-window and display-geometry HAL abstraction in direct mode. The extended capabilities (<code>_WstGLAddDisplaySizeListener<\/code>, <code>_WstGLGetDisplaySafeArea<\/code>, <code>_WstGLGetDisplayCaps<\/code>, <code>_WstGLSetDisplayMode<\/code>) are loaded at runtime via <code>dlopen<\/code> and are optional.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">Component State Flow<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">Initialization to Active State<\/h4>\n\n\n\n<p>Essos transitions through the following states during its lifecycle: <strong>Uninitialized<\/strong> (context allocated, defaults set) \u2192 <strong>Initialized<\/strong> (platform backend connected, display type resolved) \u2192 <strong>Running<\/strong> (EGL active, input devices open, event loop accepting calls) \u2192 <strong>Stopped<\/strong> (EGL torn down, input devices released) \u2192 <strong>Destroyed<\/strong> (all memory freed).<\/p>\n\n\n\n<p>When <code>EssContextStart()<\/code> is called, Essos first checks whether <code>EssContextInit()<\/code> has already been executed; if not, it runs initialization inline. Initialization resolves the operating mode by inspecting the <code>WAYLAND_DISPLAY<\/code> environment variable if auto-mode is active: presence of the variable selects the Wayland backend; absence selects the direct backend. The chosen platform backend is then set up (Wayland display connection or westeros-gl context creation). After initialization, <code>EssContextStart()<\/code> proceeds to set up EGL and open input devices, at which point the context is marked running.<\/p>\n\n\n\n<div class=\"wp-block-merpress-mermaidjs diagram-source-mermaid\"><pre class=\"mermaid\">sequenceDiagram\n    participant App as Application\n    participant Essos as Essos Library\n    participant Platform as Platform Backend\n    participant EGL as EGL\n\n    App->>Essos: EssContextCreate()\n    Essos->>Essos: Allocate EssCtx, apply defaults\n    Essos-->>App: EssCtx handle\n\n    App->>Essos: Register listeners\n    App->>Essos: EssContextStart()\n\n    Essos->>Essos: EssContextInit() - detect mode\n    Essos->>Platform: essPlatformInit()\n    Platform-->>Essos: Backend ready\n\n    Essos->>EGL: essEGLInit()\n    EGL-->>Essos: EGL surface active\n\n    Essos->>Essos: essInitInput()\n    Essos-->>App: Start returns true\n\n    loop Runtime\n        App->>Essos: EssContextRunEventLoopOnce()\n        Essos->>Platform: Poll events\n        Platform-->>Essos: Input events\n        Essos-->>App: Listener callbacks\n        App->>Essos: EssContextUpdateDisplay()\n        Essos->>EGL: eglSwapBuffers()\n    end\n\n    App->>Essos: EssContextStop()\n    Essos->>EGL: essEGLTerm()\n    Essos->>Essos: Release input devices\n\n    App->>Essos: EssContextDestroy()\n    Essos->>Platform: essPlatformTerm()\n    Essos->>Essos: Free EssCtx<\/pre><\/div>\n\n\n\n<h4 class=\"wp-block-heading\">Runtime State Changes<\/h4>\n\n\n\n<p><strong>State Change Triggers:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A display size or mode change from the platform (westeros-gl callback or Wayland <code>wl_output.mode<\/code> event) sets an internal <code>resizePending<\/code> flag. On the next call to <code>EssContextRunEventLoopOnce()<\/code>, the pending resize is processed and the <code>displaySize<\/code> and <code>displaySafeArea<\/code> callbacks of the settings listener are invoked.<\/li>\n\n\n\n<li>A Wayland display connection error (detected via <code>POLLERR<\/code> or <code>POLLHUP<\/code> on the Wayland file descriptor, or a failed <code>wl_display_read_events<\/code>) causes the terminate listener&#8217;s <code>terminated<\/code> callback to be invoked, signalling the application to shut down.<\/li>\n\n\n\n<li>In direct mode, inotify watches <code>\/dev\/input\/<\/code> and detects device additions and removals, updating the set of open input file descriptors and notifying the application of gamepad connect or disconnect events via the gamepad connection listener.<\/li>\n<\/ul>\n\n\n\n<p><strong>Context Switching Scenarios:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>If the application calls <code>EssContextSetWindowFocus()<\/code>, Essos sends a <code>wl_simple_shell_set_focus<\/code> request to the Westeros compositor, transferring keyboard and pointer focus to this application&#8217;s surface. This is relevant when multiple Essos clients are connected to the same compositor.<\/li>\n\n\n\n<li>Display mode changes requested via <code>EssContextSetDisplayMode()<\/code> are forwarded to westeros-gl in direct mode when the platform reports mode-setting capability via <code>WstGLDisplayCap_modeset<\/code>; in Wayland mode, display mode is managed by the compositor.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">Call Flows<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">Initialization Call Flow<\/h4>\n\n\n\n<div class=\"wp-block-merpress-mermaidjs diagram-source-mermaid\"><pre class=\"mermaid\">sequenceDiagram\n    participant App as Application\n    participant Essos as Essos Library\n    participant Platform as Platform Backend\n    participant EGL as EGL\n\n    App->>Essos: EssContextCreate()\n    Essos->>Essos: calloc EssCtx, init mutex, set defaults\n    Essos-->>App: EssCtx*\n\n    App->>Essos: EssContextStart()\n    Essos->>Essos: Detect mode via WAYLAND_DISPLAY\n    Essos->>Platform: essPlatformInit()\n    Platform-->>Essos: Platform context ready\n\n    Essos->>EGL: eglGetDisplay()\n    EGL-->>Essos: EGLDisplay handle\n    Essos->>EGL: eglInitialize()\n    Essos->>EGL: eglChooseConfig()\n    Essos->>EGL: eglCreateContext()\n    Essos->>EGL: eglCreateWindowSurface()\n    Essos->>EGL: eglMakeCurrent()\n    EGL-->>Essos: Rendering context active\n\n    Essos->>Essos: essInitInput()\n    Essos-->>App: true<\/pre><\/div>\n\n\n\n<h4 class=\"wp-block-heading\">Request Processing Call Flow<\/h4>\n\n\n\n<p>The primary runtime call flow is the per-frame event loop iteration. The application calls <code>EssContextRunEventLoopOnce()<\/code>, which polls for pending input or compositor events without blocking. Any received events are decoded and routed to the registered listener callbacks before the function returns. The application then performs its OpenGL ES rendering and calls <code>EssContextUpdateDisplay()<\/code> to swap the front and back buffers.<\/p>\n\n\n\n<div class=\"wp-block-merpress-mermaidjs diagram-source-mermaid\"><pre class=\"mermaid\">sequenceDiagram\n    participant App as Application\n    participant Essos as Essos Library\n    participant Platform as Platform Backend\n    participant InputSrc as Input Source\n\n    App->>Essos: EssContextRunEventLoopOnce()\n    Essos->>Platform: Poll events (zero-timeout)\n    InputSrc-->>Platform: Raw input event\n    Platform-->>Essos: Decoded event data\n    Essos->>Essos: Key repeat check via timestamp\n    Essos-->>App: keyPressed \/ pointerMotion \/ touchDown callback\n\n    App->>App: OpenGL ES rendering\n    App->>Essos: EssContextUpdateDisplay()\n    Essos->>Essos: eglSwapBuffers()<\/pre><\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Internal Modules<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Module \/ Class<\/th><th>Description<\/th><th>Key Files<\/th><\/tr><\/thead><tbody><tr><td><code>EssCtx<\/code><\/td><td>Central context structure holding all rendering, input, and platform state. Every public API operates on this handle under mutex protection.<\/td><td><code>essos.cpp<\/code><\/td><\/tr><tr><td>Application Context API<\/td><td>Provides the full lifecycle API: context creation and destruction, EGL setup (automatic and manual), event loop execution, display update, listener registration for keyboard, pointer, touch, settings, terminate, and gamepad connection.<\/td><td><code>essos-app.h<\/code>, <code>essos.cpp<\/code><\/td><\/tr><tr><td>System Configuration API<\/td><td>Exposes mode selection (Wayland or direct), display size and safe-area queries, window geometry control, input focus, key repeat parameters, EGL attribute overrides, swap interval, and display mode setting.<\/td><td><code>essos-system.h<\/code>, <code>essos.cpp<\/code><\/td><\/tr><tr><td>Gamepad API<\/td><td>Discovers gamepad devices by examining event device capabilities, builds button and axis maps from Linux input identifiers, and delivers button and axis change events through a per-gamepad listener.<\/td><td><code>essos-game.h<\/code>, <code>essos.cpp<\/code><\/td><\/tr><tr><td>Wayland Backend<\/td><td>Connects to the Wayland compositor display, binds the compositor, seat, shell, output, and optional extended shell globals, and processes keyboard, pointer, and touch events from the seat. Keyboard keymaps are decoded with <code>libxkbcommon<\/code>.<\/td><td><code>essos.cpp<\/code><\/td><\/tr><tr><td>Direct Backend<\/td><td>Initialises a westeros-gl context (<code>WstGLInit<\/code>), registers for display size change notifications, and reads input events directly from <code>\/dev\/input\/<\/code> device nodes. Uses inotify to monitor device lifecycle changes.<\/td><td><code>essos.cpp<\/code><\/td><\/tr><tr><td>EGL Manager<\/td><td>Implements the full EGL setup and teardown sequence. Selects an EGL configuration that matches the requested component sizes, creates the EGL context and window surface, and calls <code>eglSwapBuffers<\/code> on each display update.<\/td><td><code>essos.cpp<\/code><\/td><\/tr><tr><td>Input Device Manager<\/td><td>Opens and polls character device files under <code>\/dev\/input\/<\/code>, reads metadata (device number, physical address, bus\/vendor\/product IDs), classifies devices as gamepads or generic input, and decodes key, pointer, and touch events.<\/td><td><code>essos.cpp<\/code><\/td><\/tr><tr><td>Version<\/td><td>Defines the library version constants (<code>ESSOS_VERSION_MAJOR<\/code>, <code>ESSOS_VERSION_MINOR<\/code>, <code>ESSOS_VERSION_PATCH<\/code>). Current version is 2.1.1.<\/td><td><code>essos-version.h<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Component Interactions<\/h2>\n\n\n\n<p>Essos delivers all output to the calling application through synchronous callback invocations. Its southbound interactions are with the Wayland protocol stack, westeros-gl, the Linux input subsystem, and EGL.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Interaction Matrix<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Target Component \/ Layer<\/th><th>Interaction Purpose<\/th><th>Key APIs \/ Topics<\/th><\/tr><\/thead><tbody><tr><td><strong>Wayland Compositor<\/strong><\/td><td><\/td><td><\/td><\/tr><tr><td><code>wl_compositor<\/code><\/td><td>Create the application&#8217;s Wayland surface<\/td><td><code>wl_compositor_create_surface()<\/code><\/td><\/tr><tr><td><code>wl_shell<\/code><\/td><td>Attach a shell surface and set the toplevel role<\/td><td><code>wl_shell_get_shell_surface()<\/code>, <code>wl_shell_surface_set_toplevel()<\/code><\/td><\/tr><tr><td><code>wl_seat<\/code><\/td><td>Bind keyboard, pointer, and touch capabilities<\/td><td><code>wl_seat_get_keyboard()<\/code>, <code>wl_seat_get_pointer()<\/code>, <code>wl_seat_get_touch()<\/code><\/td><\/tr><tr><td><code>wl_output<\/code><\/td><td>Receive display resolution and mode from the compositor<\/td><td><code>wl_output<\/code> listener: <code>mode<\/code> callback<\/td><\/tr><tr><td><code>wl_simple_shell<\/code><\/td><td>Set surface name, geometry, and input focus (Westeros extension)<\/td><td><code>wl_simple_shell_set_name()<\/code>, <code>wl_simple_shell_set_geometry()<\/code>, <code>wl_simple_shell_set_focus()<\/code><\/td><\/tr><tr><td><strong>westeros-gl (direct mode)<\/strong><\/td><td><\/td><td><\/td><\/tr><tr><td>westeros-gl static API<\/td><td>Initialise and terminate the GL platform context; create and destroy the native EGL window<\/td><td><code>WstGLInit()<\/code>, <code>WstGLTerm()<\/code>, <code>WstGLCreateNativeWindow()<\/code>, <code>WstGLDestroyNativeWindow()<\/code><\/td><\/tr><tr><td>westeros-gl extended API<\/td><td>Register for display size change callbacks; query safe area and display capabilities; set display mode<\/td><td><code>_WstGLAddDisplaySizeListener()<\/code>, <code>_WstGLGetDisplaySafeArea()<\/code>, <code>_WstGLGetDisplayCaps()<\/code>, <code>_WstGLSetDisplayMode()<\/code><\/td><\/tr><tr><td><strong>EGL<\/strong><\/td><td><\/td><td><\/td><\/tr><tr><td>EGL API<\/td><td>Obtain and initialise the EGL display, select a matching config, create a rendering context and window surface, make the context current, and perform buffer swaps<\/td><td><code>eglGetDisplay()<\/code>, <code>eglInitialize()<\/code>, <code>eglChooseConfig()<\/code>, <code>eglCreateContext()<\/code>, <code>eglCreateWindowSurface()<\/code>, <code>eglMakeCurrent()<\/code>, <code>eglSwapBuffers()<\/code><\/td><\/tr><tr><td><strong>Linux Input Subsystem<\/strong><\/td><td><\/td><td><\/td><\/tr><tr><td><code>\/dev\/input\/<\/code> (direct mode)<\/td><td>Open event device files, read input events, and detect gamepad presence via ioctl capability queries<\/td><td><code>open()<\/code>, <code>poll()<\/code>, <code>read()<\/code>, <code>ioctl(EVIOCGBIT, EVIOCGID, EVIOCGNAME, EVIOCGPHYS, EVIOCGUNIQ, EVIOCGVERSION)<\/code><\/td><\/tr><tr><td>inotify (direct mode)<\/td><td>Monitor <code>\/dev\/input\/<\/code> for device arrival and removal events<\/td><td><code>inotify_init()<\/code>, <code>inotify_add_watch()<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Events Published<\/h3>\n\n\n\n<p>All output from Essos is delivered to the hosting application through the listener callback interfaces registered on the context. The table below summarises each callback, its trigger condition, and the recipient.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Callback Interface<\/th><th>Trigger Condition<\/th><th>Delivered To<\/th><\/tr><\/thead><tbody><tr><td><code>EssKeyListener.keyPressed<\/code><\/td><td>A key-down event is received from the Wayland keyboard or an evdev device<\/td><td>Registered application callback<\/td><\/tr><tr><td><code>EssKeyListener.keyReleased<\/code><\/td><td>A key-up event is received<\/td><td>Registered application callback<\/td><\/tr><tr><td><code>EssKeyListener.keyRepeat<\/code><\/td><td>Key held beyond <code>keyRepeatInitialDelay<\/code> ms; repeated every <code>keyRepeatPeriod<\/code> ms thereafter<\/td><td>Registered application callback<\/td><\/tr><tr><td><code>EssKeyAndMetadataListener<\/code> variants<\/td><td>Same triggers as <code>EssKeyListener<\/code> but includes <code>EssInputDeviceMetadata<\/code> identifying the source device<\/td><td>Registered application callback<\/td><\/tr><tr><td><code>EssPointerListener.pointerMotion<\/code><\/td><td>Pointer position change event received<\/td><td>Registered application callback<\/td><\/tr><tr><td><code>EssPointerListener.pointerButtonPressed<\/code> \/ <code>pointerButtonReleased<\/code><\/td><td>Pointer button state change received<\/td><td>Registered application callback<\/td><\/tr><tr><td><code>EssTouchListener.touchDown \/ touchUp \/ touchMotion \/ touchFrame<\/code><\/td><td>Touch contact events received (up to 10 simultaneous contacts)<\/td><td>Registered application callback<\/td><\/tr><tr><td><code>EssSettingsListener.displaySize<\/code><\/td><td>Display resolution reported or changed by compositor or platform<\/td><td>Registered application callback<\/td><\/tr><tr><td><code>EssSettingsListener.displaySafeArea<\/code><\/td><td>Safe area rectangle updated following a display size change<\/td><td>Registered application callback<\/td><\/tr><tr><td><code>EssTerminateListener.terminated<\/code><\/td><td>Wayland connection error detected<\/td><td>Registered application callback<\/td><\/tr><tr><td><code>EssGamepadConnectionListener.connected \/ disconnected<\/code><\/td><td>Gamepad device added to or removed from <code>\/dev\/input\/<\/code><\/td><td>Registered application callback<\/td><\/tr><tr><td><code>EssGamepadEventListener.buttonPressed \/ buttonReleased \/ axisChanged<\/code><\/td><td>Gamepad button or axis event received<\/td><td>Registered per-gamepad callback<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">IPC Flow Patterns<\/h3>\n\n\n\n<p><strong>Wayland Event Flow:<\/strong><\/p>\n\n\n\n<p>Wayland protocol messages from the compositor are the primary asynchronous input source in Wayland mode. Essos polls the Wayland display file descriptor on each event loop iteration and dispatches pending messages synchronously.<\/p>\n\n\n\n<div class=\"wp-block-merpress-mermaidjs diagram-source-mermaid\"><pre class=\"mermaid\">sequenceDiagram\n    participant Compositor as Wayland Compositor\n    participant Essos as Essos Library\n    participant App as Application\n\n    Compositor->>Essos: wl_keyboard key event\n    Essos->>Essos: Decode key state and code\n    Essos->>Essos: Update keyPressed state and timestamp\n    Essos-->>App: keyPressed \/ keyReleased callback\n\n    Compositor->>Essos: wl_output mode event\n    Essos->>Essos: Update planeWidth, planeHeight, safe area\n    Essos-->>App: displaySize callback\n    Essos-->>App: displaySafeArea callback<\/pre><\/div>\n\n\n\n<p><strong>Direct Mode Input Flow:<\/strong><\/p>\n\n\n\n<p>In direct mode, Essos reads raw events from Linux input device file descriptors opened from <code>\/dev\/input\/<\/code>, classifying and dispatching each event to the appropriate listener.<\/p>\n\n\n\n<div class=\"wp-block-merpress-mermaidjs diagram-source-mermaid\"><pre class=\"mermaid\">sequenceDiagram\n    participant LinuxKernel as Linux Input Subsystem\n    participant Essos as Essos Library\n    participant App as Application\n\n    LinuxKernel->>Essos: evdev input event\n    Essos->>Essos: Classify event type\n    Essos-->>App: keyPressed \/ pointerMotion \/ touchDown callback<\/pre><\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Implementation Details<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Major HAL APIs Integration<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>HAL \/ DS API<\/th><th>Purpose<\/th><th>Implementation File<\/th><\/tr><\/thead><tbody><tr><td><strong>westeros-gl Static API<\/strong> (directly linked via <code>libwesteros_gl<\/code>)<\/td><td><\/td><td><\/td><\/tr><tr><td><code>WstGLInit()<\/code><\/td><td>Create the westeros-gl platform context for direct EGL mode<\/td><td><code>essos.cpp<\/code><\/td><\/tr><tr><td><code>WstGLTerm()<\/code><\/td><td>Release the westeros-gl platform context on shutdown<\/td><td><code>essos.cpp<\/code><\/td><\/tr><tr><td><code>WstGLCreateNativeWindow()<\/code><\/td><td>Allocate a native EGL window of the specified dimensions<\/td><td><code>essos.cpp<\/code><\/td><\/tr><tr><td><code>WstGLDestroyNativeWindow()<\/code><\/td><td>Free the native EGL window<\/td><td><code>essos.cpp<\/code><\/td><\/tr><tr><td><strong>westeros-gl Extended API<\/strong> (resolved at runtime via <code>dlopen<\/code> \/ <code>dlsym<\/code> \u2014 optional)<\/td><td><\/td><td><\/td><\/tr><tr><td><code>_WstGLAddDisplaySizeListener()<\/code><\/td><td>Register a callback to receive display resolution change notifications<\/td><td><code>essos.cpp<\/code><\/td><\/tr><tr><td><code>_WstGLGetDisplaySafeArea()<\/code><\/td><td>Query the visible safe area rectangle from the platform<\/td><td><code>essos.cpp<\/code><\/td><\/tr><tr><td><code>_WstGLGetDisplayCaps()<\/code><\/td><td>Query platform display capabilities, including mode-setting support<\/td><td><code>essos.cpp<\/code><\/td><\/tr><tr><td><code>_WstGLSetDisplayMode()<\/code><\/td><td>Request a display mode change when the platform supports it<\/td><td><code>essos.cpp<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Key Implementation Logic<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>State \/ Lifecycle Management<\/strong>: Context state is tracked through three boolean flags in <code>EssCtx<\/code>: <code>isInitialized<\/code>, <code>isRunning<\/code>, and <code>isExternalEGL<\/code>. The initialization and start functions check these flags before proceeding, ensuring idempotent behaviour. Shutdown releases resources in reverse order: input devices first, then EGL surfaces and context, then the platform backend.<\/li>\n\n\n\n<li>Core implementation: <code>essos.cpp<\/code> (<code>EssContextCreate<\/code>, <code>EssContextInit<\/code>, <code>EssContextStart<\/code>, <code>EssContextStop<\/code>, <code>EssContextDestroy<\/code>)<\/li>\n\n\n\n<li><strong>Event Processing<\/strong>: In Wayland mode, <code>essProcessRunWaylandEventLoopOnce()<\/code> calls <code>wl_display_flush()<\/code>, <code>wl_display_dispatch_pending()<\/code>, and then polls the Wayland file descriptor with zero timeout before dispatching any new events. In direct mode, <code>essProcessInputDevices()<\/code> polls all open evdev file descriptors, reads available event structs, and routes each to the appropriate handler. Key repeat is evaluated in both modes by comparing the current wall-clock time against the timestamp of the last key-down event using <code>essGetCurrentTimeMillis()<\/code> (backed by <code>gettimeofday<\/code>).<\/li>\n\n\n\n<li><strong>Error Handling Strategy<\/strong>: Errors are recorded as null-terminated strings in the <code>lastErrorDetail<\/code> field of <code>EssCtx<\/code>, accessible via <code>EssContextGetLastErrorDetail()<\/code>. Public API functions return a <code>bool<\/code> indicating success or failure; on failure the caller should retrieve the detail string for logging. EGL errors are reported with the <code>eglGetError()<\/code> hex code. Errors from platform or EGL calls cause the affected operation to return <code>false<\/code>, at which point the error detail string holds the diagnostic information.<\/li>\n\n\n\n<li><strong>Logging and Diagnostics<\/strong>: Essos uses an internal logging function (<code>essLog<\/code>) that writes to <code>stderr<\/code>. The active log level is controlled by the <code>ESSOS_DEBUG<\/code> environment variable (integer 0\u20134). At level 0 only fatal and error messages appear; levels 1 through 4 add warnings, info, debug, and trace respectively. The default level is 2 (info). The library identifies itself in log output with the prefix <code>\"westeros (essos)\"<\/code> and includes its version string on context creation.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Configuration<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Key Configuration Parameters<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Parameter<\/th><th>Type<\/th><th>Default<\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td><code>ESSOS_DEBUG<\/code><\/td><td>int (env var)<\/td><td><code>2<\/code><\/td><td>Sets the log verbosity level. 0 = fatal\/error only; 2 = info; 4 = trace.<\/td><\/tr><tr><td><code>WAYLAND_DISPLAY<\/code><\/td><td>string (env var)<\/td><td>unset<\/td><td>Presence of this variable causes auto-mode to select the Wayland backend.<\/td><\/tr><tr><td><code>ESSOS_NO_EVENT_LOOP_THROTTLE<\/code><\/td><td>flag (env var)<\/td><td>unset<\/td><td>When set, disables the 16 ms event loop period throttle.<\/td><\/tr><tr><td><code>ESSOS_DIRECT_NO_EVENT_LOOP_THROTTLE<\/code><\/td><td>flag (env var)<\/td><td>unset<\/td><td>Disables event loop throttle specifically for the direct EGL mode.<\/td><\/tr><tr><td>Key repeat initial delay<\/td><td>int (ms)<\/td><td><code>500<\/code><\/td><td>Time in milliseconds from key-down until the first repeat event. Configurable via <code>EssContextSetKeyRepeatInitialDelay()<\/code>.<\/td><\/tr><tr><td>Key repeat period<\/td><td>int (ms)<\/td><td><code>100<\/code><\/td><td>Interval in milliseconds between successive repeat events. Configurable via <code>EssContextSetKeyRepeatPeriod()<\/code>.<\/td><\/tr><tr><td>EGL swap interval<\/td><td><code>EGLint<\/code><\/td><td><code>1<\/code><\/td><td>EGL buffer swap interval. Configurable via <code>EssContextSetSwapInterval()<\/code>.<\/td><\/tr><tr><td>Default plane width<\/td><td>int (pixels)<\/td><td><code>1280<\/code><\/td><td>Initial display plane width before a platform size notification is received.<\/td><\/tr><tr><td>Default plane height<\/td><td>int (pixels)<\/td><td><code>720<\/code><\/td><td>Initial display plane height before a platform size notification is received.<\/td><\/tr><tr><td>Safe border<\/td><td>int (percent)<\/td><td><code>5<\/code><\/td><td>Percentage of each edge excluded from the safe area when no platform-specific safe area is provided.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Runtime Configuration<\/h3>\n\n\n\n<p>Window geometry and focus can be adjusted while the context is running:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">EssContextSetWindowPosition(ctx, x, y);\nEssContextResizeWindow(ctx, width, height);\nEssContextSetWindowFocus(ctx);<\/pre>\n\n\n\n<p>Display mode can be changed at runtime in direct mode if the platform reports mode-setting capability:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">EssContextSetDisplayMode(ctx, \"1920x1080p60\");<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Essos is a C library that abstracts the platform-level complexity of creating single-window, OpenGL ES2 [&hellip;]<\/p>\n","protected":false},"author":659,"featured_media":0,"parent":9844,"menu_order":11,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"class_list":["post-13029","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Essos - RDK Documentation Portal | Documentation<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/developer.rdkcentral.com\/documentation\/documentation\/rdk_video_documentation\/components\/essos\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Essos - RDK Documentation Portal | Documentation\" \/>\n<meta property=\"og:description\" content=\"Essos is a C library that abstracts the platform-level complexity of creating single-window, OpenGL ES2 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/developer.rdkcentral.com\/documentation\/documentation\/rdk_video_documentation\/components\/essos\/\" \/>\n<meta property=\"og:site_name\" content=\"RDK Documentation Portal | Documentation\" \/>\n<meta property=\"article:modified_time\" content=\"2026-09-22T06:55:18+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"12 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/developer.rdkcentral.com\/documentation\/documentation\/rdk_video_documentation\/components\/essos\/\",\"url\":\"https:\/\/developer.rdkcentral.com\/documentation\/documentation\/rdk_video_documentation\/components\/essos\/\",\"name\":\"Essos - RDK Documentation Portal | Documentation\",\"isPartOf\":{\"@id\":\"https:\/\/developer.rdkcentral.com\/documentation\/#website\"},\"datePublished\":\"2026-09-22T05:47:37+00:00\",\"dateModified\":\"2026-09-22T06:55:18+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/developer.rdkcentral.com\/documentation\/documentation\/rdk_video_documentation\/components\/essos\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/developer.rdkcentral.com\/documentation\/documentation\/rdk_video_documentation\/components\/essos\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/developer.rdkcentral.com\/documentation\/documentation\/rdk_video_documentation\/components\/essos\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/developer.rdkcentral.com\/documentation\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Documentation\",\"item\":\"https:\/\/developer.rdkcentral.com\/documentation\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"RDK Video\",\"item\":\"https:\/\/developer.rdkcentral.com\/documentation\/documentation\/rdk_video_documentation\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Components\",\"item\":\"https:\/\/developer.rdkcentral.com\/documentation\/documentation\/rdk_video_documentation\/components\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Essos\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/developer.rdkcentral.com\/documentation\/#website\",\"url\":\"https:\/\/developer.rdkcentral.com\/documentation\/\",\"name\":\"RDK Documentation Portal | Documentation\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/developer.rdkcentral.com\/documentation\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Essos - RDK Documentation Portal | Documentation","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/developer.rdkcentral.com\/documentation\/documentation\/rdk_video_documentation\/components\/essos\/","og_locale":"en_US","og_type":"article","og_title":"Essos - RDK Documentation Portal | Documentation","og_description":"Essos is a C library that abstracts the platform-level complexity of creating single-window, OpenGL ES2 [&hellip;]","og_url":"https:\/\/developer.rdkcentral.com\/documentation\/documentation\/rdk_video_documentation\/components\/essos\/","og_site_name":"RDK Documentation Portal | Documentation","article_modified_time":"2026-09-22T06:55:18+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"12 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/developer.rdkcentral.com\/documentation\/documentation\/rdk_video_documentation\/components\/essos\/","url":"https:\/\/developer.rdkcentral.com\/documentation\/documentation\/rdk_video_documentation\/components\/essos\/","name":"Essos - RDK Documentation Portal | Documentation","isPartOf":{"@id":"https:\/\/developer.rdkcentral.com\/documentation\/#website"},"datePublished":"2026-09-22T05:47:37+00:00","dateModified":"2026-09-22T06:55:18+00:00","breadcrumb":{"@id":"https:\/\/developer.rdkcentral.com\/documentation\/documentation\/rdk_video_documentation\/components\/essos\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/developer.rdkcentral.com\/documentation\/documentation\/rdk_video_documentation\/components\/essos\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/developer.rdkcentral.com\/documentation\/documentation\/rdk_video_documentation\/components\/essos\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/developer.rdkcentral.com\/documentation\/"},{"@type":"ListItem","position":2,"name":"Documentation","item":"https:\/\/developer.rdkcentral.com\/documentation\/"},{"@type":"ListItem","position":3,"name":"RDK Video","item":"https:\/\/developer.rdkcentral.com\/documentation\/documentation\/rdk_video_documentation\/"},{"@type":"ListItem","position":4,"name":"Components","item":"https:\/\/developer.rdkcentral.com\/documentation\/documentation\/rdk_video_documentation\/components\/"},{"@type":"ListItem","position":5,"name":"Essos"}]},{"@type":"WebSite","@id":"https:\/\/developer.rdkcentral.com\/documentation\/#website","url":"https:\/\/developer.rdkcentral.com\/documentation\/","name":"RDK Documentation Portal | Documentation","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/developer.rdkcentral.com\/documentation\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/developer.rdkcentral.com\/documentation\/wp-json\/wp\/v2\/pages\/13029","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developer.rdkcentral.com\/documentation\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/developer.rdkcentral.com\/documentation\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/developer.rdkcentral.com\/documentation\/wp-json\/wp\/v2\/users\/659"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.rdkcentral.com\/documentation\/wp-json\/wp\/v2\/comments?post=13029"}],"version-history":[{"count":1,"href":"https:\/\/developer.rdkcentral.com\/documentation\/wp-json\/wp\/v2\/pages\/13029\/revisions"}],"predecessor-version":[{"id":13030,"href":"https:\/\/developer.rdkcentral.com\/documentation\/wp-json\/wp\/v2\/pages\/13029\/revisions\/13030"}],"up":[{"embeddable":true,"href":"https:\/\/developer.rdkcentral.com\/documentation\/wp-json\/wp\/v2\/pages\/9844"}],"wp:attachment":[{"href":"https:\/\/developer.rdkcentral.com\/documentation\/wp-json\/wp\/v2\/media?parent=13029"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}