Integration Overview
A summary of how to integrate Senza into your app
With Senza, your web app runs in a browser in the cloud, and the interface is streamed to a cloud connector device. It's an entirely new way to run web apps, but since the Senza platform is based on standard web technologies many apps will "just work" with minimal modifications.
Starting Points
The amount of effort required to update an existing application to run on the Senza platform depends upon where you're starting from. If you have an HTML5 based app that's designed to run on a television with remote control user interaction, you'll just need to make a few changes.
If your app was built for smart TV platforms like LG webOS or Samsung Tizen, you'll need to remove platform-specific code and host your app on a web server. See Porting Smart TV Apps for details.
If your web app is designed for browsers on desktop or mobile devices, you'll want to consider adapting the interaction to support remote control input and arranging your content for a ten-foot viewing experience.
If your app is built for other platforms like Android or tvOS or you're starting from scratch, you'll want to budget a bit more effort for designing and building your web app for the TV screen.
See the App Requirements page for more details.
Quick Start
To familiarize yourself with the platform, follow the steps in the Quick Start guide to learn how to:
- Create an Account and sign in to the Senza Console.
- View the Senza App in the Device Simulator.
- Explore a Sample App to see how you can switch streaming modes.
- Try Running Your App to check how it works without modification.
- Connect a Device to your TV to experience Senza the way your users will.
Performing these steps will help you get up to speed quickly with the platform and its tools and features.
App Integration
The App Integration section describes the process of integrating your app with Senza, using the Client Library to interact with the platform. At a high level the steps required are:
- Browser Integration: Test Chrome compatibility, remote control functionality, and remove platform-specific dependencies.
- Device Integration: Connect the Senza client library, get cloud connector info, and update geolocation to use the device's IP.
- Player Integration: Sync local and remote players using Shaka Player subclass or integrate directly with the remote player.
- Lifecycle Integration: Implement foreground/background transitions.
- Platform Integration: Configure security policies, DRM, and device-based authentication.
The Reference Integration summarizes how to perform the above steps. For many apps, integrating with the remote player will be as simple as copying and pasting the code on that page.
Tutorials
You can jumpstart your development by following our step-by-step Tutorials, watching the Video Tutorials, and exploring the source code of our Sample Apps. You don't need to start from scratch because you can follow these examples.
Updated 10 days ago