How work on macOS and browser playback could bring Tilecast to smart TVs, tablets, and other signage hardware.
Tilecast began as a way to put unused computers and displays at our school back into service. Our goal is to support more of the hardware people already have, without requiring dedicated signage equipment.
Tilecast already has an experimental Browser Player, and a native Player for macOS is in development. The browser implementation gives us a starting point for supporting devices that can’t run the native Player, including many smart TVs.
| Platform | Player status |
|---|---|
| Linux (x86_64 and ARM64) | Released |
| Windows 10 and 11 (x64 and ARM64) | Released |
| Android TV, Google TV and compatible Fire OS devices | Released |
| macOS | In development |
| Web browsers | Experimental |
macOS and the web
The macOS Player shares its host code with Windows. It can already pair with a Server, prepare media and store credentials in the Keychain. We’re still working on rendering content in WKWebView. The current target is macOS 14 (Sonoma) or later, largely because of the APIs needed to keep Website content isolated. Capture, signed updates, startup and recovery need work before we can release and qualify builds for Intel and Apple Silicon.
Browser Player has a different purpose. You connect a browser to your Tilecast Server without installing a native Player. This could be useful in schools that already manage Chromebooks or Chromeboxes: ChromeOS supports web apps in kiosk mode. We’ll need to test how those installations handle storage, browser updates and restarting after a power cut.
The optional Browser Companion will help us extend the Player where the browser allows it. It won’t remove every browser restriction. Chrome’s tab capture API, for example, generally requires someone to interact with the extension before it can start capturing.
Why the browser matters
We already use web engines on the native Players. WPE WebKit on Edge, WebView2 on Windows and Android WebView all run the shared TypeScript Runtime that draws Layouts, Widgets and media.
The other part of those Players is Player Core, written in Rust. It handles pairing, downloads, scheduling and recovery using SQLite and the operating system’s filesystem and networking facilities. The host supplies operating system integrations, such as credential storage and display control.
Browser Player doesn’t use Rust. Its TypeScript host has its own authentication and storage using WebCrypto, IndexedDB and the Origin Private File System (OPFS). Web Locks prevent competing Player instances and a service worker delivers verified media to the Runtime. Tilecast Server selects what the browser should play, rather than the browser running the native scheduling engine.
That means we can bring the shared Runtime to a platform that doesn’t accept native binaries without first porting all of Player Core to WebAssembly. WebAssembly alone would still leave us to implement filesystem access, SQLite, networking and the rest of the operating system integration.
A television with a web browser isn’t necessarily compatible, though. Browser Player requires HTTPS and specific web APIs. A packaged application running from local files may lack a suitable secure origin, service workers or writable file streams. We’d have to adapt the host while preserving how it verifies downloaded media, stores credentials and isolates content.
There are also differences in what a screen can do. Browser Player can keep playing its last prepared content without a connection, but can’t choose the next scheduled presentation offline. It doesn’t yet support Watch Live, synchronized playback, direct display control or isolated Website and YouTube playback. Native Rust plugin contributions need a compatible host or alternatives to the services they use.
Samsung and LG TVs
The biggest difference between an older smart TV and a current one is often the web engine. Samsung and LG publish the versions used in their Tizen and webOS consumer TVs:
| Model year | Samsung Tizen | LG webOS TV |
|---|---|---|
| 2015–2016 | 2.3–2.4, WebKit | 2.x–3.x, WebKit or Chromium 38 |
| 2017 | 3.0, Chromium 47 | 3.x, Chromium 38 |
| 2018–2019 | 4.0–5.0, Chromium 56–63 | 4.x, Chromium 53 |
| 2020 | 5.5, Chromium 69 | 5.x, Chromium 68 |
| 2021 | 6.0, Chromium 76 | 6.x, Chromium 79 |
| 2022 | 6.5, Chromium 85 | 22, Chromium 87 |
| 2023 | 7.0, Chromium 94 | 23, Chromium 94 |
| 2024 | 8.0, Chromium 108 | 24, Chromium 108 |
| 2025 | 9.0, Chromium 120 | 25, Chromium 120 |
| 2026 | 10.0, Chromium 130 | 26, Chromium 132 |
Our Runtime targets ES2022 and many Widgets use CSS container queries to rearrange their contents when you resize a zone in Studio. Chromium first supported size-based container queries in version 105. On older engines, compiling JavaScript for an earlier version wouldn’t fix the Widget styles, let alone gaps in storage and security APIs.
The 2024 models are a sensible place to begin testing. That’s not a compatibility cutoff: a TV’s embedded browser may still have restrictions that desktop Chromium doesn’t.
Tizen
Samsung’s TV application format doesn’t allow ordinary native application packages. .NET is another option, but native shared libraries require a Seller Office partner group to build or sign. On models that support WebAssembly, the native Core still can’t run unchanged.
A packaged web Player with adapters for the TV’s filesystem, media and lifecycle APIs is the more promising route. Getting it to launch after a reboot is a separate problem. Samsung’s installation FAQ notes that consumer and hospitality models can’t automatically launch USB-installed applications at power-on.
Samsung Smart Signage displays are of particular interest because they offer system control and remote power APIs that aren’t generally available on consumer TVs. Access to some APIs depends on certification and privileges. A commercial Tizen Player could share its renderer with a consumer Player while providing additional device controls.
webOS
LG supports web applications alongside Node.js services that can access the filesystem, handle downloads and perform background work. A service could manage media that Browser Player normally stores through OPFS. It isn’t a native daemon, and its available Node.js version varies from 0.12 on webOS 4.x to 16 on webOS 24.
We also need a way to distribute the app to users. LG’s developer mode expires, and disabling it removes the apps installed for testing. That’s fine during development, but not for a screen someone expects to run unattended.
As with Samsung, commercial LG displays merit separate investigation. webOS Signage has its own developer program and device APIs for managing displays.
Dedicated signage hardware and Fire TV
BrightSign devices already have a Chromium engine and Node.js environment for signage. We could use the shared Runtime for rendering and BrightScript or Node.js for startup, media and hardware integration. There’s a familiar compatibility issue: BrightSignOS 8.5 and 9.0 use Chromium 87; 9.1 offers Chromium 120 on suitable hardware and configurations.
Meanwhile, Amazon has introduced Vega OS on newer Fire TV devices. Compatible Fire OS devices can install our Android APK, but Vega can’t run that APK. Amazon’s Chromium-based WebView for React Native gives us a way to reuse the Runtime. Its native C++ APIs may offer another route to the Rust Core, if linking, permissions and packaging allow it. Either way, Vega needs its own Player and testing of offline storage, startup and recovery.
VIDAA, Titan OS and Vizio are other platforms we’d like to investigate. We don’t yet have enough information about their available web APIs, installation options or unattended operation to propose a Player for them.
Tablets and other computers
An iPad mounted on a wall or used as a kiosk could run a native Player. Unlike Apple TV, iPadOS supports WKWebView, and Rust supports iOS. We could build on the macOS renderer work, with a different lifecycle, storage and capture integration. A supervised device can use Single App Mode, while App Store or managed deployment would handle native app updates. The existing Tilecast app for iPhone and iPad remains a Studio app.
Android tablets and interactive displays are also candidates for testing with the Android Player. The current app has a minimum API level of 23, but its WebView, touch controls and kiosk behavior matter as much as the OS version.
Some of the work isn’t about adding another operating system at all. Edge already builds for x86_64 and ARM64 Linux, so Raspberry Pi boards, small PCs and thin clients on those architectures are candidates for hardware qualification. The initial production qualification covers Debian 13 with Intel graphics and HDMI output. Other graphics drivers, media decoders and display connections need testing. At publication, the legacy Electron-based Player was in maintenance mode. Supporting 32-bit ARM or x86, or another desktop system such as FreeBSD, would be a separate port.
Apple TV and Roku
Apple TV has a different problem from the smart TVs discussed above. Rust has tvOS compilation targets, so it may be possible to reuse Player Core. But tvOS doesn’t provide public web views. We could implement native image and video playback, but the Runtime and web-based Widgets would not carry over. A richer Player would need a separate renderer or a presentation format that both renderers understand.
tvOS can also purge large cached files when it needs space. A Player would have to recover its SQLite state and downloaded media without losing its identity. There is a useful deployment option in Single App Mode for managed Apple TVs, but updates would follow Apple’s distribution model. See the Apple TV support page for more detail.
Roku uses BrightScript and SceneGraph. Even its new TypeScript SDK targets SceneGraph rather than a browser DOM. A basic Roku Player would likely need its own protocol client, credential storage and playback implementation. It would also need a distribution route beyond developer mode, which permits only one sideloaded app at a time.
Older Chromecast devices present another opportunity, but not necessarily as permanent screens. A Cast web receiver can stop when the sender disconnects or a new session begins. It would make more sense to explore this for temporary presentations. Chromecast with Google TV can use the Android application environment instead.
Where we’d start
The immediate priorities are finishing the native macOS Player and qualifying Browser Player for production use. ChromeOS is a natural next place to test the browser host. Commercial Samsung and LG displays, newer consumer TVs and BrightSign devices would help us establish how much of that host can be shared with embedded web engines. We’d also like to investigate Vega and a native iPad Player. Apple TV and Roku require a separate decision about rendering.
Before we could recommend any of these platforms, we’d need to see a Player recover from a power cut, play downloaded content during a network outage and keep credentials and native controls separate from untrusted content. The existing capability system in Studio can report differences between Players. We don’t need to promise features that a device can’t provide.
We’re interested in hearing from people who have access to these devices. If you can help test a platform or have experience developing for one, open an issue on GitHub with the hardware model, firmware version and the features you’d use.
Update: Starting with Tilecast 1.6, the Legacy Linux Player is retired. See the retirement notice.