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 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
Senza comes with a client library your web app can use to interact with the platform. The Client Library integration guide covers all the features of the client library, and the steps that you can take to integrate your app:
- Install the app in your development environment.
- Initialize the library when your app starts up.
- Add support for Remote Control input if your app does not already support it.
- Add support for App Lifecycle transitions between foreground and background modes.
- Integrate with the Remote Player to stream video directly to the device.
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.
Further Steps
If your app requires signing in, you may consider taking advantage of Device Authentication so your users will never need to think about usernames and passwords.
If your app plays encrypted video, you will need to follow a few integration steps to add support for streaming Protected Content to the remote player.
If your app uses geolocation of the client IP address for localization or access control, you'll want to adapt your app to use the IP address of the end user's device, as shown in the Geolocation tutorial.
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 4 months ago