androidtv-sample-inputs | Sample Channel App ( TV Input Service | Video Utils library
kandi X-RAY | androidtv-sample-inputs Summary
kandi X-RAY | androidtv-sample-inputs Summary
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.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Get the channels
- Parses the program
- Build the renderers
- Initialize the renderers
- Sets the content panel
- Gets the current channels
- Returns the values of the Program
- Converts an array of TvContentRatings to a String
- Creates a recorded program from a cursor
- Parse a comma - separated list of ratings
- Updates the available channels
- Returns the content of the channel
- Creates a new demo renderer builder
- Insert a URL into the given context
- Returns the values of the recorded program
- Gets the channel with the given channel URI
- Requests a list of video ads from a specific VAST tag
- Inflates the view at the given position
- Called when an ad event is played
- Create an intent to launch the sync job
- Display an error message
- Sets the playback playback params
- Determine the original programs for a given channel
- Called when a sync is received
- Create the view
- Create the detailsOverview row
androidtv-sample-inputs Key Features
androidtv-sample-inputs Examples and Code Snippets
Community Discussions
Trending Discussions on androidtv-sample-inputs
QUESTION
I downloaded the google project from git repo link: https://github.com/googlesamples/androidtv-sample-inputs. But I am unable to find the understanding of module for the below-mentioned layout. I need to create channel and EPG view exactly same as the below-mentioned diagram, using the android lean-back library and TV Input framework concepts. So, kindly provide me with the understanding of the project as where I can find the working of this module.
...ANSWER
Answered 2019-Sep-10 at 09:32The guide you see here is part of a reference TV App aka Live Channels which is a system app and ships with every Android TV system image. It is open-sourced under Apache 2.0 and you can check out the details and source code here:
https://source.android.com/devices/tv/reference-tv-app https://android.googlesource.com/platform/packages/apps/TV/
It uses a different build system than Gradle but you should be able to refactor it to use Gradle.
EDIT: A nice alternative TV guide for Android TV recently appeared on GitHub here: https://github.com/egeniq/android-tv-program-guide
QUESTION
I'm trying to write a most simple TvInputService, that will display an overlay using TIF Companion Library.
The Live Channels application already recognizes my channel Simple Channel
declared in my EpgSyncJobService
subclass.
My Program
is displayed in the Live Channels application's EPG as currently presented one.
However, all I can see is the blue spinner, as if the channel didn't "tune".
What am I doing wrong?
...ANSWER
Answered 2018-Jan-23 at 10:34According to TvInputService.Session.notifyVideoAvailable() documentation:
The TV input service must call this method as soon as the content rendered onto its surface is ready for viewing. This method must be called each time onTune(Uri) is called.
So it is enough to call notifyVideoAvailable()
in BaseTvInputService.Session.onTune(Uri)
method override, like so:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install androidtv-sample-inputs
Get code: git clone the project from https://github.com/googlesamples/androidtv-sample-inputs.git
Compile the project and install the app to your Android TV device.
Start the pre-installed system app Live Channels to configure TV input sources.
Start Live Channels app
Click Search to search for and add channels
Alternatively within Live Channels app, Click ENTER to bring out Recent Channels Click DOWN to enter TV options Click RIGHT to Channel sources and select it Click DOWN to select Rich Input and click ENTER to select it Click ADD CHANNELS NOW to add channels of MP4 videos, HLS stream and MPEG-DASH stream
To watch sample channels, simply toggle UP and DOWN to switch channels
Visit Channel Sources -> Rich Input -> Settings to see mock options for input settings.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page