androidtv-sample-inputs | Sample Channel App ( TV Input Service | Video Utils library

 by   googlesamples Java Version: Current License: Apache-2.0

kandi X-RAY | androidtv-sample-inputs Summary

kandi X-RAY | androidtv-sample-inputs Summary

androidtv-sample-inputs is a Java library typically used in Video, Video Utils applications.,roidtv-sample-inputs has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. You can download it from GitHub.

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

            kandi-support Support

              androidtv-sample-inputs has a low active ecosystem.
              It has 465 star(s) with 241 fork(s). There are 71 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 34 open issues and 22 have been closed. On average issues are closed in 132 days. There are 7 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of androidtv-sample-inputs is current.

            kandi-Quality Quality

              androidtv-sample-inputs has 0 bugs and 0 code smells.

            kandi-Security Security

              androidtv-sample-inputs has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              androidtv-sample-inputs code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              androidtv-sample-inputs is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              androidtv-sample-inputs releases are not available. You will need to build from source code and install.
              Build file is available. You can build the component from source.
              Installation instructions, examples and code snippets are available.
              androidtv-sample-inputs saves you 4733 person hours of effort in developing the same functionality from scratch.
              It has 9988 lines of code, 754 functions and 97 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed androidtv-sample-inputs and discovered the below as its top functions. This is intended to give you an instant insight into androidtv-sample-inputs implemented functionality, and help decide if they suit your requirements.
            • 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
            Get all kandi verified functions for this library.

            androidtv-sample-inputs Key Features

            No Key Features are available at this moment for androidtv-sample-inputs.

            androidtv-sample-inputs Examples and Code Snippets

            No Code Snippets are available at this moment for androidtv-sample-inputs.

            Community Discussions

            QUESTION

            How to create program guide based on Android Tv Input Framework, as below shown diagram
            Asked 2019-Sep-10 at 09:32

            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:32

            The 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

            Source https://stackoverflow.com/questions/54249271

            QUESTION

            Make TvInputService display an overlay
            Asked 2018-Jan-23 at 10:34

            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:34

            According 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:

            Source https://stackoverflow.com/questions/48399268

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install androidtv-sample-inputs

            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.
            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

            Android TV Google+ Community: https://g.co/androidtvdevStack Overflow: http://stackoverflow.com/questions/tagged/android-tv
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/googlesamples/androidtv-sample-inputs.git

          • CLI

            gh repo clone googlesamples/androidtv-sample-inputs

          • sshUrl

            git@github.com:googlesamples/androidtv-sample-inputs.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link