OEM Onboarding Guide

Integration, manufacturing and provisioning for hardware partners taking the RedSquid stack into production.

Welcome to RedSquid

Welcome to the RedSquid platform ecosystem. This guide will help you integrate RedSquid into your television hardware, enabling your devices to support operator-branded applications while providing robust system-level functionality.

What is RedSquid?

RedSquid is an operator application launch framework for television platforms that enables seamless coexistence between operator-branded applications and essential system-level functionality.

Key Benefits for OEMs

Value Proposition

RedSquid enables you to manufacture a single TV platform that can be branded for specific operators, configured during manufacturing or at first boot, updated over-the-air throughout the product lifecycle, and deployed in both operator and retail channels.

Platform Architecture

System Components

┌─────────────────────────────────────────────────────┐
│                 RedSquid Platform                    │
├─────────────────────────────────────────────────────┤
│  ┌─────────────────────────────────────────────┐   │
│  │         RedSquid System Application          │   │
│  │  • Volume Control  • Input Selection         │   │
│  │  • Settings UI     • FTI Workflows           │   │
│  │  • DTVKit (Live TV)                          │   │
│  └─────────────────────────────────────────────┘   │
│                       ▲                             │
│                       │ System Keys                 │
│  ┌─────────────────────────────────────────────┐   │
│  │    System-Level Key Interception Layer      │   │
│  │  (Routes Volume, Input, Settings to RedSquid)│   │
│  └─────────────────────────────────────────────┘   │
│                       │                             │
│                       ▼ Other Keys                  │
│  ┌─────────────────────────────────────────────┐   │
│  │         Operator Application                 │   │
│  │  • Branded UI  • Content Navigation          │   │
│  │  • EPG         • OTT Integration             │   │
│  └─────────────────────────────────────────────┘   │
│                                                     │
├─────────────────────────────────────────────────────┤
│              WPE Browser / Thunder API              │
├─────────────────────────────────────────────────────┤
│         RDK Platform / Linux Kernel                 │
├─────────────────────────────────────────────────────┤
│              Hardware Platform (SoC)                │
└─────────────────────────────────────────────────────┘

Technology Stack

Layer Technology Purpose
Application Framework RedSquid + Operator App User-facing functionality
Browser Engine WPE (WebKit Port for Embedded) Web content rendering
Middleware Thunder API Application lifecycle management
Platform RDK (Reference Design Kit) Standardized TV platform
Operating System Linux (RDK-based) System foundation
Broadcast DTVKit DVB-T/T2/S/S2 · DVB-I · ATSC 3.0 · HbbTV 2.0.4

Hardware Requirements

Minimum Platform Specifications

Component Minimum Requirement Recommended
SoC Platform RDK-compatible ARM/MIPS SoC Amlogic T962D4 or equivalent
RAM 1.5 GB DDR3/DDR4 2.0 GB+ for optimal performance
eMMC Storage 8 GB 16 GB (includes swap space)
Graphics OpenGL ES 2.0 OpenGL ES 3.0+
Video Decode H.264, H.265 (Main/Main10) VP9, AV1 support recommended

Required Hardware Components

1. Network Connectivity

2. Broadcast Tuners

3. Content Protection

4. Audio Support

5. Input/Output

Integration Overview

Integration Timeline

Phase Duration Activities
Phase 1: Setup 1-2 weeks Platform evaluation, SDK installation, development environment setup
Phase 2: Platform Porting 4-6 weeks RDK/Thunder integration, driver validation, bootloader customization
Phase 3: RedSquid Integration 2-4 weeks RedSquid app deployment, key interception setup, testing
Phase 4: Testing 3-4 weeks System validation, compliance testing, operator testing
Phase 5: Manufacturing Setup 2-3 weeks Personality package integration, production line testing
Total 12-19 weeks From SDK delivery to production-ready

Prerequisites

Before beginning integration, ensure you have:

Manufacturing & Provisioning

Personality Package System

Each RedSquid device requires a unique Personality Package containing security credentials and device identity. This package is generated during manufacturing and flashed to the device.

Personality Package Contents

Component Description Source
HDCP 1.4 Keys Content protection for HD Key pool allocation
HDCP 2.2 Keys Content protection for 4K Key pool allocation
Widevine Keys DRM credentials (Level 1) Google DRM provisioning
MAC Addresses Ethernet + Wi-Fi MAC addresses Pre-allocated pool
Device Certificates PKI certificates for backend auth Generated per device
CI+/OTTS Conditional access (optional) Operator-specific
index.json Manifest with all metadata Auto-generated

API Integration

Request Format:

curl -X POST https://api.redsquid.tv/v1/personality/generate \
  -H "Authorization: Bearer {YOUR_API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
    "batch_type": "production",
    "batch_id": "2024-Q1-001",
    "quantity": 1000,
    "security_profile": "standard_hdcp22_widevine",
    "operator_config": "operator_a_uk"
  }'

System Integration

Dolby Audio Integration

Dolby audio support is a critical component for premium content delivery. The OEM is responsible for obtaining, integrating, and managing Dolby libraries.

OEM Responsibilities

Important: Dolby Integration is OEM-Managed

The OEM must directly handle all aspects of Dolby integration, licensing, and deployment. RedSquid does not provide or manage Dolby libraries.

Dolby Library Integration

The OEM receives a signed Dolby library from Dolby Laboratories containing a unique Dolby ID specific to your device manufacturer registration.

Component OEM Responsibility Details
Dolby Library Obtain from Dolby Labs Signed library with unique Dolby ID
Dolby ID Register with Dolby Manufacturer-specific identifier
License Agreement Execute with Dolby Commercial licensing terms
Library Integration Integrate into platform Link with RDK audio pipeline
Certification Dolby certification testing Required before commercial deployment
Updates Manage library versions Deploy updates via OTA

Integration Process

  1. Register with Dolby Laboratories
    • Complete manufacturer registration
    • Execute licensing agreement
    • Receive unique Dolby ID
  2. Obtain Signed Libraries
    • Dolby Digital Plus decoder library (libddplus.so)
    • Dolby Atmos decoder library (libdlbatmos.so) - if supporting Atmos
    • Libraries are cryptographically signed with your Dolby ID
  3. Integrate with RDK Audio Pipeline
    • Place libraries in system library path (/usr/lib or /lib)
    • Configure RDK GStreamer pipeline to use Dolby decoders
    • Set up audio routing for HDMI and optical outputs
  4. Configure Audio Capabilities
    • Declare Dolby codec support in device capabilities
    • Configure EDID for Dolby audio formats
    • Enable pass-through for external audio devices
  5. Testing & Certification
    • Complete Dolby certification testing
    • Verify Dolby Digital Plus playback
    • Test Dolby Atmos (if supported)
    • Validate audio pass-through scenarios

Library Deployment

# Typical library locations on device
/usr/lib/libddplus.so          # Dolby Digital Plus decoder
/usr/lib/libdlbatmos.so        # Dolby Atmos decoder (optional)
/etc/dolby/dolby.conf          # Dolby configuration

# Libraries must be:
# - Signed with your unique Dolby ID
# - Read-only and protected from modification
# - Included in system partition
# - Not user-accessible

RedSquid Integration Points

RedSquid Platform Support

RedSquid applications will automatically utilize Dolby decoders when available through the RDK audio pipeline. No application-level changes required - Dolby integration is transparent to operator applications.

  • Operator apps stream Dolby-encoded content via standard HTML5 video element
  • RDK/WPE browser routes audio to GStreamer pipeline
  • GStreamer automatically selects Dolby decoder when Dolby audio detected
  • Audio output adapts based on connected device capabilities (HDMI/optical)

Licensing Costs

OEMs should budget for Dolby licensing fees:

Contact Dolby Laboratories

For Dolby licensing and technical integration support:

  • Website: https://professional.dolby.com
  • Licensing: Contact Dolby licensing team for your region
  • Technical Support: Available after registration and licensing agreement

Key Interception Integration

RedSquid requires system-level interception of specific remote control keys. This must be implemented at the input driver or RDK layer.

Required Key Routing

Key Destination Behavior
Volume +/- RedSquid Always intercepted
Mute RedSquid Always intercepted
Input RedSquid Always intercepted
Settings RedSquid Always intercepted
Power RedSquid Always intercepted (v0.2+)
CH+/CH- RedSquid Only when in Live TV mode
Number Keys 0-9 RedSquid Only when in Live TV mode
Home, Back, OK, Arrows Operator App When operator app has focus

Testing & Validation

Functional Testing Checklist

Boot & Initialization

First-Time Installation (FTI)

System Keys

Performance Benchmarks

Backend Services

Required Backend Connectivity

Service Endpoint Purpose Protocol
Device Registry api.redsquid.tv/v1/devices Device registration HTTPS (TLS 1.2+)
OTA Updates ota.redsquid.tv/v1/updates Firmware/app updates HTTPS
Telemetry telemetry.redsquid.tv/v1/events Usage analytics HTTPS (batch)
Crash Reporting crash.redsquid.tv/v1/reports Crash dumps HTTPS
Operator Config config.redsquid.tv/v1/operators Branding/config HTTPS + CDN
CDN Assets cdn.redsquid.tv/ Logos, packages HTTPS + CDN

Support & Resources

Documentation Portal

Access comprehensive documentation at:

https://docs.redsquid.tv

Available resources include API Reference Documentation, Integration Guides, Hardware Compatibility List, Known Issues & Workarounds, and Release Notes.

Developer Support

Technical Support Channels:

Support Tiers:

Certification Program

Complete the RedSquid OEM Certification to validate your integration:

  1. Complete integration checklist
  2. Submit test device for validation
  3. Pass compliance testing
  4. Receive certification badge
Certification Benefits:
  • Listed in RedSquid Certified Devices directory
  • Access to operator partnerships
  • Marketing co-promotion opportunities

Apply: certification@redsquid.tv


Contact Information

RedSquid Technologies Ltd.