Jump to content

Android TV - Expose live tv channels as streaming channels


jose

Recommended Posts

The HdHomerun app is able to expose tje tv channels in the tuner as Streaming Channels but as the HD prime doesnt do transcoding it stutters and doesnt work that nice, now as emby transcodes the streams it would work a lot better. So i want to see if it is possible to present the livetv channels to android tv as a Streaming Channels source.

Link to comment
Share on other sites

Sorry, I don't really follow what you mean by "as streaming channels"...?

 

If the option is selected to do so, we just play the direct url from the tuner.

Link to comment
Share on other sites

Explained here expose the channels through the tv inpt framework https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=4&cad=rja&uact=8&ved=0ahUKEwjustrUt4fLAhUDNxQKHeNADYEQFggwMAM&url=http%3A%2F%2Fdeveloper.android.com%2Ftraining%2Ftv%2Ftif%2Findex.html&usg=AFQjCNEnu76ANwZHz5qlObBm20WouJ6tuw&sig2=nzIel3YvpymvINIx_xWXrA

 

 

Watching live TV shows and other continuous, channel-based content is a big part of the TV experience. Users are accustomed to selecting and watching shows on TV by channel browsing. To provide your users a similar experience, use the TV Input Framework to create channels for publishing video or music content so that your media appears alongside traditional TV channels in the programming guide.

Android supports receiving and playback of live video content through the TV Input Framework in Android 5.0 (API level 21). This framework provides a unified method for receiving audio and video channel content from hardware sources, such as HDMI ports and built-in-tuners, and software sources, such as video streamed over the internet.

The framework enables developers to define live TV input sources by implementing a TV input service. This service publishes a list of channels and programs to the TV Provider. The live TV app on a TV device gets the list of available channels and programs from the TV Provider and displays them to a user. When a user selects a specific channel, the live TV app creates a session for the associated TV input service through the TV Input Manager, and tells the TV input service to tune to the requested channel and play the content to a display surface provided by the TV app.

Edited by jose
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...