STB API

This documentation describes the program interfaces allowing controlling IPTV-device (including playing various types of video content and the event pattern of the IPTV-device) in the web browser with JavaScript.

History

v347

  • add new properties volumeScaleType, VOLUME_SCALE_TYPE_LOGARITHMIC, VOLUME_SCALE_TYPE_LINEAR in stbAudioOutput
  • add new properties patErrors, pmtErrors, rtpDiscontinuity in stbPlayer.statistics

v346

Private API

  • remove from API method stbWindowMgr.sendBroadcastEvent

Public API

  • add methods to work with player's additional options (stbPlayer.setOption, stbPlayer.getOption, stbPlayer.resetOptions)

v345

  • add new function gSTB.clearMemoryCaches (clear memory caches such as page, object and font cache)
  • add new property scanOptions in stbDvbInput

v344

  • add new stbEvent.onLanStateChange hook
  • add new property bitRate to stbPlayer.videoInfo

v343

Private API

  • stbSmb.findServers, stbSmb.findShares, stbSmb.findIp and stbNfs.findShares get config object instead of plain arguments

Public API

  • stbSmb.findServers, stbSmb.findShares and stbSmb.findIp get config object instead of plain arguments
  • gSTB.GetSmbShares and stbSmb.findShares support login and password params
  • stbNfs.findShares get config object instead of ip argument
  • stbSmb and stbNfs in all callbacks return error as object with properties message and code
  • stbEpgManager.getBrief get config object instead of uri argument
  • add new field program in stbEpgManager.onEpgInfo and stbEpgManager.getBrief
  • add new audio EAC3 codec support in gSTB.GetAudioPIDsEx and stbPlayer.audioTracks
  • add new wifi_off environment variable support and stbEvent.onWifiStateChange hook
  • complex DVBv2 rework
  • update API documentation and tutorials

v342

  • first public release