Application » History » Revision 3
Revision 2 (Alex Seferidis, 07/17/2025 12:10 PM) → Revision 3/5 (Alex Seferidis, 07/17/2025 12:29 PM)
# Application FBX-3566 can run on 5 different modes: - Fleex Embedded - Fleex Prime - Fleex DS - IPTV STB - DS player (not implemented yet) The main QT application opens a full screen web browser (QT web engine, based on chromium 87) On Fleex embedded it opens a web page from the headend. On Fleex DS and Fleex Prime it opens a web page from DS server, or Prime server On IPTV it opens a local page (inside FBX-3566) /htdocs/IPTV/index.php There are three main applications: - Web server - QT application - External player ## Web server The device can serve PHP web pages, using Apache2 web server. Settings are saved on SQLITE3 database We can connect to device by opening a web browser from a PC directly to it's IP address http://xxx.xxx.xxx.xxx user: admin pass: 12345 On the device the web application is located at: /data/firmware/htdocs Databases are located at: /data/settings On development machine (Alex windows PC): C:\wamp64\www\stb **Note: two critical files** 1. /htdocs/python/init.py This script runs on powerup and prepares the system, copy necessary files, etc. 2. On DS mode a JavaScript file (main.ds) is downloaded from DS server, and runs all the logic needed for the DS TODO: add git server link for web application ## QT application It is the main application, runs on the screen when the device powers up. Opens QT web engine in full screen. Main application communicate with external player (GSteamer) with internal UDP commnads on 127.0.0.1 address. Source code is located at Virtual machine (Alex PC): /data/Yocto_SDK_QT5/QTplayer See QT Creator section, how to setup IDE and then open this application from QT Creator. TODO: add git server link for main application ## External player External player is used to play media streams. It is based on Gstreamer. Source code is located with gst-play-1.0 tool inside Yocto: /data/Yocto/poky/build-rockchip/tmp/work/armv8a-poky-linux/gstreamer1.0-plugins-base/1.20.7-r0/gst-plugins-base-1.20.7/tools It is one file: gst-external.c build with: ``` bitbake -c compile -f gstreamer1.0-plugins-base ``` find executable at /media/alex/data/Yocto/poky/build-rockchip/tmp/work/armv8a-poky-linux/gstreamer1.0-plugins-base/1.20.7-r0/build/tools Then you can copy this executable to the device (/data/firmware) TODO: add git server link for external player