User Tools

Site Tools


hbbtvport

General information

The DTVKit HBBTV module is composed of the static library libhbbtv.a and the plug-in libnpapihbbtvplugin.so and is based on the HbbTV standard, version 1.2.1.

libhbbtv.a

This library contains the implementation of the HbbTV standard and interfaces directly with the different parts of the system via various API, defined in the corresponding header files:

  • hbbtv.h: Contains functions to control the HBBTV module from the application, to initialise it, terminate it, set the debug level, notify events and so on. These functions are implemented by libhbbtv.a.
  • hbbtv_js.h: Contains functions used by the plug-in to implement the Javascript extensions needed by HbbTV applications. These functions are implemented by libhbbtv.a.
  • hbbtv_sif_browser.h: Contains functions that the HBBTV module uses to control the browser, to set the URL, pass the remote control keys, etc. These functions must be implemented outside the HBBTV module. As long as these functions are implemented correctly, the HBBTV module can interface to any browser supporting the NPAPI interface.
  • hbbtv_sif_conf.h: Contains functions that the HBBTV module uses to retrieve information from the system, such as preferred languages, network status, etc. These functions must be implemented outside the HBBTV module. If DTVKit DVBcore is used, the majority of such functions are implemented under externals/HBBTV, with the exception of HBBTV_GetPrefUiLang which is specific to the user interface.
  • hbbtv_sif_debug.h: Contains the definition of the function that the HBBTV module uses to output debug messages when compiled in debug mode. These functions must be implemented outside the HBBTV module. If DTVKit DVBcore is used, they functions are implemented under externals/HBBTV.
  • hbbtv_sif_decoding.h: Contains the definition of the functions that the HBBTV module uses to control the live audio, video and subtitles presentation. These functions must be implemented outside the HBBTV module. If DTVKit DVBcore is used, they functions are implemented under externals/HBBTV.
  • hbbtv_sif_mediaplayer.h: Contains the definition of the functions that the HBBTV module uses to control the presentation of media content streamed over the internet. These functions must be implemented outside the HBBTV module. If DTVKit DVBcore is used, they functions are implemented under externals/HBBTV.
  • hbbtv_sif_os.h: Contains the definition of functions implementing operating system functionality such as memory allocation, semaphores, queues, etc… These functions must be implemented outside the HBBTV module. If DTVKit DVBcore is used, they functions are implemented under externals/HBBTV.
  • hbbtv_sif_pvr.h: Contains the definition of functions that the HBBTV module needs to implement PVR functionalities. These functions must be implemented outside the HBBTV module. If DTVKit DVBcore is used, they functions are implemented under externals/HBBTV.
  • hbbtv_sif_service.h: Contains the definition of functions that the HBBTV module calls to retrieve information about live services, such as service details, service list and events. These functions must be implemented outside the HBBTV module. If DTVKit DVBcore is used, they functions are implemented under externals/HBBTV.
  • hbbtv_sif_tuner.h: Contains the definition of functions used by the HBBTV module to control the tuner. These functions must be implemented outside the HBBTV module. If DTVKit DVBcore is used, they functions are implemented under externals/HBBTV.

Plugin

The plug-in implements the extension to the standard Javascript objects needed by the HbbTV applications using the NPAPI interface.

  • browser_app.h: The plug-in uses the functions defined in this header file to request that all the graphics in the specified area are removed to make a video visible. This is used to simulate the right z-order for video objects.
hbbtvport.txt · Last modified: 2020/11/18 15:59 (external edit)