← Dev dashboard

NCLua viewer

Runs the NCLua script of a Ginga-NCL test application in the browser (Lua VM in JavaScript, imitation of the NCLua canvas, event, settings, persistent and pbds API) at 1280×720, with an on-screen remote control. The dtvwebservices requests go to the dev server's WebServices mock and the http requests to their URL. Not a Ginga-NCL player: of the NCL document, only the NCLua media, the key control (application.currentKeyMaster of the settings node), the key and attribution links and the user settings node are followed; media presentation, the other links, focus and the rest of the formatter aren't simulated, and nothing here shows what the receiver does natively. Limits in tools/dev-harness/README.md. Dev tooling only; not a suite deliverable.

video plane

Open main.ncl → · Open the NCLua script →

Simulator


      
Remote control

Each button delivers the key to the script as an NCLua key event (press, then release) with its Table A.24 value, only while its media is the key master. BACK gives the key control back to the NCL formatter (A.3.13) until the script sets application.currentKeyMaster again. While the formatter has the key control, the key links of main.ncl (onSelection with that key, set on a property of the media) reach the script as attribution events instead. Keyboard: arrows, Enter (ENTER), Backspace (BACK) and F1–F4 (RED to BLUE).

The persistent variables (D.7) and the bases saved with saveBase (D.9) stay in this browser across reloads and are shared by every Ginga-NCL application opened here, as in one DTV service context. Clearing them is like resetting the receiver's Bootstrap Applications list.

Log

print output, keys, Lua errors with traceback and every event.post to the NCL formatter: the application.currentKeyMaster edit and saveBase are applied, attributions fire their links, dtvwebservices and http requests are sent (with their answer), the rest is only logged.