This app is designed to show how to build live TV channel apps for Android TV using the TV Input Framework (TIF). The sample is a service that once installed, is recognized and run by the default TV app (e.g. Live Channels app).
The sample app consists of a single TV input: 4 channels consisting of MP4 videos, HLS stream and MPEG-DASH stream, organized into various genres. The video files are served from Google Cloud Storage.
References and Developer Guides
This app uses the TIF Companion Library.
The source code for the library is in the library
directory. To use this library in your project,
copy the directory over or use the following Gradle dependency:
compile 'com.google.android.libraries.tv:companionlibrary:0.4.1'
Note that the Live Channels app does not show up in Apps on Home screen unless there is at least one TV input service or a physical input like HDMI1.
To set up the TV input:
License under the Apache 2.0 license. See the LICENSE file for details.
Please read and follow the steps in the CONTRIBUTING.md
Images/videos used in this sample are courtesy of the Blender Foundation, shared under copyright or Creative Commons license.