Yury Pukhov, YuSMP Group
Yury Pukhov CEO & Mobile Engineering Lead, YuSMP Group
Add YuSMP as a preferred source on Google
TL;DR: Set top box software development is building the firmware, middleware and apps that turn a box built around a system-on-chip into an operator TV service: the OS (Android TV Operator Tier, AOSP, RDK or Linux), CAS and DRM, EPG and playback, the launcher UI, OTA updates and certification. Platform choice and DRM level drive most of the cost and timeline.

Set top box software development is the engineering work that turns a box with a system-on-chip, a tuner or network port and an HDMI output into a TV service a household can use every evening: the boot firmware, the operating system, the video middleware, the security stack for protected content, the on-screen interface and the update system that keeps thousands of boxes current. It matters to pay-TV operators, telcos and ISPs that bundle TV with broadband, hotel and hospital IPTV providers, OTT platforms launching a branded box and device OEMs that build hardware for all of them.

The platform you build on now decides more than it did five years ago. RDK, the open-source software platform for operator set-top boxes, has shipped on more than 200 million devices, and an industry forecast reported by CSI Magazine expected Android TV Operator Tier to grow from about 5% to about 23% of the operator set-top box base by 2026. A box is therefore no longer one-off firmware: it is a choice of ecosystem, and teams that buy set-top box firmware and embedded software development usually want one partner who owns the whole stack, from the board support package to the OTA server.

This guide explains the STB software stack layer by layer, compares the main OS platforms in 2026, shows how DRM and conditional access work, and walks through middleware, UI, OTA, testing, the development process, cost drivers and common mistakes. Most set-top boxes run on Linux under the hood, so it reads well alongside our guide to embedded Linux software development.

What is set top box software development?

Set top box software development is the design, integration and maintenance of all software that runs on an operator or branded TV box, from the bootloader to the apps on the home screen. It differs from writing a TV app because the team also owns the operating system, the hardware drivers, the content protection chain and the update path of the device.

A set-top box (STB) sits between a content source and a television. The source can be a cable, satellite or terrestrial broadcast signal received by a built-in tuner, an IPTV multicast stream on a managed operator network, or OTT streams delivered over the open internet. Modern hybrid boxes combine two or three of these sources behind one interface.

The STB is often confused with a smart TV or a streaming stick. The table shows who controls what in each case, which explains why operators keep investing in their own boxes.

DeviceWho controls the OSWho ships updatesCAS and broadcast tunerOperator branding
Operator set-top boxOperator and its integratorOperator, on its own scheduleYes: CAS, DRM and tuner integratedFull: launcher, channels first, own UX
Smart TVTV manufacturer (Tizen, webOS, Google TV and others)TV manufacturerRarely; operator ships an appLimited to the operator app
Streaming stick or retail boxPlatform ownerPlatform ownerNo broadcast CAS; app-level DRM onlyLimited to the operator app

Every STB project produces three deliverables. Platform firmware covers the bootloader, kernel, drivers and OS image. Middleware covers playback, the electronic programme guide (EPG), channel management, conditional access and DRM. Applications cover the launcher, the operator TV app, third-party apps and often a companion app on phones. A project can buy some layers ready-made, but somebody still has to integrate all three and keep them updated together.

What does the STB software stack consist of?

The STB software stack consists of seven layers, from secure boot at the bottom to the apps and the device management agent at the top. Each layer has a different owner: the SoC vendor supplies the lowest layers, the platform (Android TV, RDK or Linux) defines the middle, and the operator and its integrator own the service on top.

LayerWhat it doesTypical technology
1. Bootloader and secure bootStarts the SoC, verifies every image signature and selects the active system slotSoC vendor boot ROM and loaders, U-Boot, hardware root of trust
2. Kernel, BSP and driversRuns the CPU, memory, video decoder, HDMI, Wi-Fi, Ethernet, tuner and remote control receiverLinux kernel, SoC vendor SDK and BSP (for example Amlogic or Broadcom), device tree
3. Hardware abstraction layer (HAL)Gives the OS framework a stable interface to tuners, inputs, audio, video and HDMI-CECAndroid TV Input HAL and tuner HAL, RDK hardware porting kit
4. OS frameworkProvides app lifecycle, windowing, input, storage and system servicesAndroid TV or AOSP, RDK, Linux with a browser or Qt runtime
5. MiddlewarePlays streams, builds the channel lineup and EPG, handles CAS and DRM, records contentHLS, MPEG-DASH, CMAF players, EPG engine, CAS and DRM clients, PVR or nDVR
6. Apps and launcherHome screen, live TV, VOD, settings, third-party appsOperator launcher, operator TV app, app store apps, HTML5 portal
7. Device management and telemetry agentReceives updates and configuration, reports health, crashes and usageOTA client, TR-069 or TR-369 (USP) agent, telemetry collector

Most defects in set-top box projects appear at the borders between these layers. A channel change that is fast in the SoC vendor demo but slow in the product, for example, is usually a middleware or HAL integration issue rather than a hardware limit.

Open set-top box circuit board with a system-on-chip under a heatsink, memory chips, HDMI and Ethernet ports, probed by an engineer during BSP bring-up

Firmware and BSP

STB firmware is the lowest software layer: the bootloader, the Linux kernel and the board support package (BSP) that makes one specific board work. The SoC vendor ships a reference SDK with drivers for the video decoder, the display pipeline, the secure processor and the tuner, and the integrator adapts it to the operator's board, memory, Wi-Fi module and remote control.

Two decisions at this layer stay with the product for years. The first is secure boot: every image from the bootloader up must be signed, and the keys must be protected in hardware. The second is the partition layout: a box that keeps two system slots (A/B) can update safely and roll back, while a box with a single slot can be bricked by one failed update.

STB middleware

STB middleware is the layer that turns a working box into a TV service: it tunes channels, plays adaptive streams, builds the programme guide, talks to the conditional access system and DRM servers, and records or time-shifts content. On Android TV the platform supplies part of this layer through the TV Input Framework; on RDK and Linux boxes the operator or a middleware vendor supplies more of it.

STB software development teams spend a large share of their time here, because middleware connects to the operator's back end: the content management system, the entitlement and subscriber database, the CAS head-end, the DRM licence servers and the CDN. Each connection has its own protocol, test environment and failure modes.

Applications and launcher

The application layer is what viewers see: the launcher or home screen, the live TV app with the EPG grid, the VOD catalogue, settings, and third-party apps such as streaming services. The launcher decides which content appears first, so for an operator it is also the main commercial surface of the box. Companion apps on phones and tablets extend the same account to other screens.

Which OS platform should an STB run in 2026?

In 2026, most new operator set-top boxes run either Android TV Operator Tier or RDK, while custom AOSP, Linux with an HTML5 portal and TV-native platforms cover narrower cases. The right choice depends on whether the service needs Google Play and Google Assistant, how much control the operator wants over branding, and which ecosystem the operator already uses.

PlatformGoogle Play and AssistantBranding controlCertification burdenTypical buyerStrengthsLimits
Android TV Operator TierYesHigh: custom launcher, operator channels firstHigh: Google device certificationTelcos, ISPs and pay-TV operators wanting apps and voiceLarge app catalogue, familiar UX, voice assistantGoogle requirements, certification time, higher hardware spec
Custom AOSPNoFullLower: no Google certification, operator QA onlyHospitality, regional operators, markets without Google servicesAndroid tooling without Google rulesNo Play Store, the operator curates every app
RDK (RDK-V, RDK7)No (own app platform)FullOperator and RDK processCable and broadband operators in the RDK ecosystemOpen source, operator-controlled, standard hardware porting kitSmaller app ecosystem, needs RDK skills
Linux with HTML5 portalNoFullLowLow-cost IPTV, hotels, hospitals, enterprise signageLow bill of materials, simple portal updates from the serverLimited apps, browser performance on weak SoCs
Tizen or webOSNoOperator app onlyTV maker app reviewOperators reaching smart TV owners without a boxNo hardware to shipNot a box platform: the operator ships an app, not an OS

A simple rule covers most decisions. If you need Google Play and Google Assistant on a branded box, choose Operator Tier. If you are a cable operator already in the RDK ecosystem, stay on RDK and use its porting kit. If you need a very low bill of materials or a closed hotel or hospital system, Linux with an HTML5 portal or custom AOSP is usually enough. If you only need presence on smart TVs, build Tizen and webOS apps instead of a box.

Android TV Operator Tier vs custom AOSP

Android TV Operator Tier is a Google-certified version of Android TV for operator-branded boxes: the operator gets a custom launcher that puts its own channels first, and viewers still get Google Play and Google Assistant. Custom AOSP uses the same open-source Android base without Google services, so the operator controls everything but has to supply its own app catalogue and voice features.

Both share the Android TV platform described in the AOSP documentation. The TV Input Framework (TIF) delivers live content through standard input modules, the TV Input Manager arbitrates between apps and inputs, and the TV Provider stores channels and programmes in a database that only privileged system apps can read in full. Since Android 14 the TV Input HAL is defined in AIDL, and the Tuner framework with the Tuner Resource Manager arbitrates TV inputs, MediaCas sessions and the built-in tuner. HDMI-CEC runs through the HDMI Control Service, and compatibility is verified with the CTS Verifier. Teams that already ship phone and tablet apps can reuse much of their Android development practice on these boxes.

RDK

RDK is an open-source software platform for set-top boxes and other customer premises equipment of pay-TV and broadband providers, and its code is free to access. According to RDK Central, RDK has shipped on more than 200 million devices and has a community of more than 700 CPE makers, SoC vendors, developers, integrators and operators. Operators with public RDK deployments include Comcast, Charter, Cox, Deutsche Telekom, Liberty Global, Sky, Vodafone and Orange.

RDK7 separates the hardware, middleware and application layers and adds a redesigned hardware porting kit that standardises audio and video playback, conditional access, DRM, networking, captions, emergency alerts, voice and telemetry. Earlier, RDK4 introduced the Firebolt app platform, the Lightning app language and the Thunder modular framework. For an integrator, the porting kit matters most: it defines exactly what a new SoC must provide, which shortens bring-up on new hardware.

Linux and HTML5 for low-cost and hospitality boxes

A Linux STB with an HTML5 portal runs a minimal Linux image with a browser engine or a lightweight UI runtime, and loads its interface from the operator's server. It suits hotels, hospitals and low-cost IPTV services, because the box can use an inexpensive SoC and the interface can change without a firmware update. The trade-off is a small app ecosystem and browser performance that can feel slow on weak hardware, which is why some teams build the UI natively in Qt instead.

How do DRM and conditional access work on a set-top box?

On a set-top box, conditional access (CAS) controls who may watch which broadcast or IPTV channel, and digital rights management (DRM) controls how protected streams are decrypted and displayed. Classic broadcast services rely on a CAS from vendors such as Nagra, while OTT and many IPTV services use DRM systems such as Widevine, PlayReady and FairPlay. Many hybrid boxes need both.

Widevine, the DRM most often used on Android-based boxes, defines three security levels. The level a box reaches decides which content owners will license premium HD and 4K content to the service.

Widevine levelWhere decryption and processing happenTrusted execution environment (TEE)Content resolution
L1Decryption and processing entirely inside the TEERequiredOriginal resolution
L2Decryption inside the TEE, processing in software or dedicated video hardwareRequiredFixed resolution
L3Software onlyNoneFixed resolution

Widevine L1 integration requires the OEMCrypto library from the chipset vendor, and factory-provisioned keyboxes give each box a hardware root of trust. Together with secure boot, this chain proves to the licence server that keys never leave protected hardware. PlayReady plays a similar role for services built around Microsoft technology, and FairPlay matters when the service also targets Apple devices through companion apps.

Middleware features operators expect

Operators expect STB middleware to deliver a complete pay-TV experience out of the box: live channels with a programme guide, on-demand and catch-up content, personal features and analytics. These seven features appear in almost every operator requirement document:

  • Live TV and EPG. Channel lineup, fast channel change, a 7 to 14 day programme guide and reminders.
  • VOD, catch-up and nDVR. On-demand catalogue, replay of past programmes and network or cloud DVR recordings.
  • Profiles and parental control. Multiple viewer profiles, PIN-protected purchases and age ratings.
  • Search and recommendations. Unified search across live, VOD and apps, with recommendations from viewing history.
  • Voice and remote control. IR and Bluetooth RCU pairing, voice search and, on Operator Tier, Google Assistant.
  • Analytics. Viewing data, playback quality and errors sent to the operator's systems.
  • Third-party apps. Streaming services and other apps, either from Google Play or from an operator-curated catalogue.

Operators that also run their own streaming product usually align the box with their wider platform. Our guide to media and streaming software development covers the content, catalogue and monetisation side of that work.

Hybrid broadcast: HbbTV and ATSC 3.0

Hybrid broadcast combines a broadcast signal with internet delivery on the same screen. In Europe, HbbTV lets broadcasters add interactive applications, catch-up and targeted content on top of DVB channels; in the United States, ATSC 3.0 brings IP-based delivery and interactivity to terrestrial broadcast. A hybrid STB therefore needs DVB-C, DVB-S or DVB-T tuners or an ATSC 3.0 tuner, an IPTV and OTT player, and an HbbTV or ATSC 3.0 runtime, all controlled from one interface.

Designing a 10-foot UI and launcher

A 10-foot UI is an interface designed to be used from a sofa with a remote control, about three metres from the screen. It needs large type, a clear focus state on every element and navigation that works with only the arrow keys, OK and Back, because there is no touch screen and no mouse.

Four rules separate a good STB interface from a ported mobile app:

  • Remote-first navigation. Every screen is reachable with arrows, OK and Back, and focus never gets lost or trapped.
  • Visible focus. The focused element is obvious from across the room through scale, outline or glow.
  • A latency budget. Channel change, EPG scrolling and app launch have target times measured on the cheapest box in the fleet, not on a developer board.
  • Low-memory discipline. Images, animations and app caches fit the RAM of older boxes still in the field.

On Android TV Operator Tier, the launcher must balance operator branding with Google's layout and content requirements, so the design work starts by agreeing which areas of the home screen the operator controls. Teams that need specialist help here can work with a partner for TV interface and UX design before the launcher is coded.

OTA updates, device management and telemetry

OTA (over-the-air) updates, device management and telemetry keep a set-top box fleet secure and working after launch. A box without them can only be fixed by sending a technician or replacing the hardware, which is why OTA and fleet tooling should be designed before the first feature.

A reliable STB update system has six parts:

  1. A/B partitions. The new image is written to the inactive slot while the box keeps running, so a power cut never leaves it without a working system.
  2. Signed images. The bootloader accepts only images signed with the operator's keys, which blocks tampered firmware.
  3. Automatic rollback. If the new image fails its health checks after boot, the box returns to the previous slot without user action.
  4. Staged rollouts. Updates go first to lab boxes, then to staff, then to 1%, 10% and finally all customers, with a stop button at every stage.
  5. Remote management. TR-069, or its successor TR-369 (User Services Platform, USP), lets the operator read status, change configuration and trigger actions on each box.
  6. Telemetry and crash reporting. Boxes report crashes, playback errors, memory use and update results to dashboards, so problems show up before customers call support.

The same patterns apply to any connected device fleet, which our guide to IoT fleet software describes in more detail. In our embedded packages, device management with signed A/B OTA, rollback, provisioning and remote configuration starts from $5,800, and telemetry with a dashboard starts from $9,200.

STB software development process: step by step

An STB software development project runs in seven steps, from defining the service model to supporting the fleet after launch. The first two steps fix most of the cost and risk, because the platform and SoC chosen there limit everything that follows.

  1. Requirements and service model. Define the delivery mix (IPTV, OTT, broadcast or hybrid), the CAS and DRM needed by content contracts, the target markets and the feature list. Output: a requirements document and content rights map. Typical risk: discovering a DRM requirement from a content owner after the SoC is chosen.
  2. SoC and platform selection. Choose the chip, the reference design and the OS platform (Operator Tier, AOSP, RDK or Linux). Output: a hardware and platform decision with a bill of materials. Typical risk: a chip without the required DRM certification or with a short production life.
  3. BSP bring-up and secure boot. Get the bootloader, kernel, drivers and HAL running on the product board, with secure boot and key provisioning. Output: a booting, signed image. Typical risk: vendor SDK gaps for the Wi-Fi module, tuner or remote.
  4. Middleware and DRM integration. Integrate playback, EPG, CAS and DRM clients with the operator's back end. Output: channels and VOD playing with protection on real streams. Typical risk: late access to the operator's CAS head-end or DRM test servers.
  5. Launcher, apps and companion app. Build the launcher, the TV app, settings and the phone or tablet companion app. Output: a feature-complete build. Typical risk: UI performance on the cheapest box.
  6. Certification and field trial. Pass CTS and GTS tests and Google review on Operator Tier, CAS vendor certification and content owner DRM audits, then run a trial with real households. Output: certified firmware and trial feedback. Typical risk: several certification rounds instead of one.
  7. OTA rollout and support. Launch with staged rollouts, monitor telemetry, ship security patches and new features for the life of the box. Output: a managed fleet. Typical risk: no budget or team planned for years of updates.

Steps 2 and 6 cause the most schedule slips. Choosing a SoC with a mature reference design and the right certifications shortens step 3, and planning certification as its own phase keeps step 6 from turning into an open-ended delay.

How to test set-top box software

Set-top box software is tested on a farm of real boxes across every hardware revision, with automated UI tests driven through the remote control interface and video captured from HDMI. Emulators help with app logic, but playback, DRM, tuners and memory behaviour can only be proven on real hardware.

Test lab with a rack of set-top boxes cabled to a row of monitors showing colour test patterns while an engineer reviews automated test results

A complete STB test plan combines automated and manual testing in seven areas:

  • Device farm. Every hardware revision and memory variant in the fleet, connected to CI.
  • Automated UI tests. Scripts send IR or Bluetooth key presses and check the result through HDMI capture and image comparison.
  • Playback metrics. Channel change time, start-up time, A/V sync, buffering and bitrate switching measured on every build.
  • Soak tests. Boxes play content for days to find memory leaks, crashes and thermal problems.
  • OTA tests. Every update path, including interrupted downloads, power cuts and rollback, is tested before release.
  • Manual exploratory testing. Testers use the box as a viewer would and catch issues scripts miss.
  • Field beta. A group of real households runs pre-release firmware before each major update.

Long-running operator programmes keep combining manual and automated testing for years, because every new app, stream format and firmware version changes the system. Teams without an in-house device lab can use dedicated QA and test automation services to build one.

How much does STB software development cost?

STB software development cost depends mainly on the platform, the number of hardware models, the CAS and DRM certifications, and how much existing software can be reused. A Linux box with an HTML5 portal for a hotel chain and a certified Android TV Operator Tier box with CAS, DRM and voice for a national operator are different classes of project, and their budgets differ by an order of magnitude or more (estimate YuSMP).

Cost driverWhy it mattersImpact on budget
Platform choiceOperator Tier and RDK bring certification and ecosystem work; Linux HTML5 is lighterHigh
Number of hardware SKUsEach SoC or board variant needs its own BSP, testing and certificationHigh
CAS and DRM certificationWidevine L1, CAS vendor and content owner audits each add work and waiting timeHigh
Certification roundsEvery failed round of Google, CAS or operator tests repeats part of the scheduleMedium to high
Legacy migrationMoving an old fleet means supporting old boxes, old back ends and data migrationMedium to high
App scopeLauncher, TV app, VOD store, companion apps and third-party integrationsMedium
OTA and fleet toolingUpdate server, staged rollouts, TR-069 or USP, telemetry dashboardsMedium
Post-launch supportSecurity patches, new apps, OS upgrades for the life of the boxOngoing

Our embedded packages give fixed entry points for parts of an STB programme. An IoT MVP starts from $3,500, device management with signed A/B OTA and rollback starts from $5,800, telemetry with a dashboard starts from $9,200, and an IoT platform with multi-device management, roles, integrations and CI on real hardware starts from $11,500. In our projects, an MVP launch takes 12 to 24 weeks; for a first operator box, that usually means a working, signed build with core playback and OTA, while full certification and a commercial launch follow as separate phases.

The most reliable way to get a real number is a short discovery phase. It fixes the platform, the SoC, the content protection requirements and the feature scope, and turns the drivers above into a budget and timeline for your specific box.

Common mistakes in STB projects (and how to avoid them)

Most failed or late STB projects repeat the same seven mistakes, and almost all of them come from decisions made in the first weeks. Each one has a simple counter-measure:

  • Picking the SoC before checking DRM and CAS. Confirm Widevine level, CAS vendor support and certifications before you sign the hardware order.
  • Underestimating certification time. Plan Google, CAS and content owner certification as a separate phase with buffer for a second round.
  • No A/B OTA from day one. Design partitions, signing and rollback before features, because adding them after launch may require a risky field migration.
  • A UI built for touch, not for a remote. Design every screen for arrow keys and focus states, and test it on a real TV from the sofa. On very low-cost boxes, consider Qt for embedded UIs on low-cost boxes instead of a heavy browser runtime.
  • Ignoring low-RAM legacy boxes during migration. Measure the new software on the oldest box you still support, or plan a hardware swap.
  • No telemetry. Without crash and playback data, the first sign of a bad update is a spike in support calls.
  • The companion app as an afterthought. Plan account, pairing and remote features for phones together with the box, not after launch.

Set top box software development: FAQ

What is set top box software development?

Set top box software development is building and maintaining all software on an operator or branded TV box: the bootloader and firmware, the operating system (Android TV Operator Tier, AOSP, RDK or Linux), middleware for playback, EPG, CAS and DRM, the launcher and apps, and the OTA update and device management system that keeps the fleet current.

What is the difference between STB software development and STB app development?

STB software development covers the whole device: firmware, drivers, operating system, middleware, security, apps and updates. STB app development covers only applications that run on an existing platform, such as an operator TV app for Android TV or a smart TV app for Tizen or webOS, without changing the box's operating system or firmware.

Should an operator choose Android TV Operator Tier or RDK?

An operator should choose Android TV Operator Tier when viewers expect Google Play, Google Assistant and a large app catalogue on a branded box. RDK fits operators already in the RDK ecosystem, especially cable and broadband providers, who want an open-source, operator-controlled platform. RDK has shipped on more than 200 million devices, and operators such as Comcast, Sky and Vodafone have public RDK deployments.

Does a set-top box need Widevine L1?

A set-top box needs Widevine L1 when the service streams premium content at original resolution, such as HD and 4K films and series. At L1, decryption and processing happen entirely inside a trusted execution environment. Levels L2 and L3 limit content to a fixed resolution, and L3 runs in software without a TEE.

How long does STB software development take?

STB software development time depends on the platform, the SoC, the number of hardware models and certification. In YuSMP projects a first MVP launch takes 12 to 24 weeks, which for a set-top box usually means a signed build with core playback and OTA. Google, CAS and DRM certification and a field trial then run as separate phases.

How are set-top boxes updated over the air?

Set-top boxes are updated over the air by downloading a signed image to an inactive A/B partition, verifying it and switching to it on the next reboot. If health checks fail, the box rolls back to the previous image automatically. Operators release updates in stages and manage boxes remotely through protocols such as TR-069 and TR-369 (USP).

Sources