This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
en:stb:blink [2020/08/25 11:50] Alexander created |
en:stb:blink [2024/08/12 11:30] (current) Alexander |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Blink/Chromium web portal engine ====== | ====== Blink/Chromium web portal engine ====== | ||
- | S-Box mediacenters (except S3xx, S400) with fw Linux-Qt 5.0.x or newer support rendering Web-portals on Chromium engine ( API="blink"). Current Chromium 77 is used. | + | S-Box mediacenters (except S3xx, S400) with fw Linux-Qt 5.0.x or newer and with fw Android 11 support rendering Web-portals on [[https://www.chromium.org/|Chromium]] engine ( API="blink"). \\ |
+ | S-Box mediacenters based on Linux-Qt 5.0.x or newer. Currently Chromium 78 is used.\\ | ||
+ | S-Box mediacenters based on Android 11 or newer support rendering Web-portals on [[https://www.chromium.org/|Chromium]] engine ( API="blink"). Currently Chromium 102 (before fw. 5.1.31) and 122 (from fw. 5.1.31) are used. | ||
\\ | \\ | ||
Line 8: | Line 10: | ||
* Chromium uses its own player (tag "video"). Media formats support is currently limited. | * Chromium uses its own player (tag "video"). Media formats support is currently limited. | ||
* Chromium player supports MSE and EME standards for media streaming (including Widevine DRM). | * Chromium player supports MSE and EME standards for media streaming (including Widevine DRM). | ||
- | * JavaScript API is not supported currently. | + | * JavaScript API support is limited. |
+ | ===== Media and DRM support ===== | ||
+ | Chromium engine support the following codecs: | ||
+ | * H.264 | ||
+ | * HEVC (if supported by device) | ||
+ | * VP9 (if supported by device) | ||
+ | * AV1 (if supported by device) | ||
+ | * AAC | ||
+ | * AC3 | ||
+ | * eAC3 | ||
+ | * Opus | ||
+ | |||
+ | Tag <video> is used for video playback. | ||
+ | \\ | ||
+ | * MP4 container is directly supported. | ||
+ | * HLS playback with system player is supported from fw. 5.0.48. | ||
+ | * Adaptive streaming (HLS, MPEG-DASH) can be played by various JavaScript players with MSE (Media Source Extentions). | ||
+ | * Mediacenters can access DRM protected content over **EME** (Encrypted Media Extentions) standard. Currently **Widevine L3** DRM is supported. DRM playback was tested with **Shaka Player**. | ||
+ | |||
+ | |||
+ | ===== TVIP API in JavaScript ===== | ||
+ | ==== Object window.TvipStb ==== | ||
+ | ====String getDeviceId(); ==== | ||
+ | |||
+ | Returns model of mediacenter. For example, //s605//. | ||
+ | \\ | ||
+ | |||
+ | ====String getMainMacAddress();==== | ||
+ | |||
+ | Returns MAC-address of mediacenter (usually, Ethernet MAC-address). | ||
+ | \\ | ||
+ | |||
+ | ====String getSoftwareVersion();==== | ||
+ | |||
+ | Returns firmware version of mediacenter. | ||
+ | \\ | ||
+ | |||
+ | ====String getCurrentLanguageCode();==== | ||
+ | |||
+ | Returns current language code (//'en'//, //'ru'//). | ||
+ | \\ | ||
+ | |||
+ | ====String String getDisplayMode();==== | ||
+ | |||
+ | Returns current display mode ("1080i", "1080p", "720p", "576i", etc). (from fw. v.5.0.56) | ||
+ | \\ | ||
+ | |||
+ | \\ | ||
+ | To exit the app, use JavaScript **window.close();** method. |