Home | History | Annotate | Download | only in tif
      1 page.title=Building Live TV Apps
      2 page.tags=tif
      3 page.article=true
      4 
      5 @jd:body
      6 
      7 <div id="tb-wrapper">
      8 <div id="tb">
      9   <h2>You should also read</h2>
     10   <ul>
     11     <li><a href="{@docRoot}reference/android/media/tv/package-summary.html">
     12       android.media.tv</a></li>
     13   </ul>
     14 </div>
     15 </div>
     16 
     17 <p>
     18   Watching live television shows and other continuous, channel-based content is a big part of the
     19   TV experience. Android supports receiving and playback of live video content through the TV Input
     20   Framework in Android 5.0 (API level 21).
     21   This framework provides a unified method for receiving audio and video channel content
     22   from hardware sources, such as HDMI ports and built-in-tuners, and software sources, such as
     23   video streamed over the internet.
     24 </p>
     25 <p>
     26   The framework enables developers to define live TV input sources by implementing a TV input
     27   service. This service publishes a list of channels and programs to the TV Provider. The live TV
     28   app on a TV device gets the list of available channels and programs from the TV Provider and
     29   displays them to a user. When a user selects a specific channel, the live TV app creates a
     30   session for the associated TV input service through the TV Input Manager, and tells the TV input
     31   service to tune to the requested channel and play the content to a display surface provided by
     32   the TV app.
     33 </p>
     34 
     35 <img src="{@docRoot}images/tv/tv-tif-overview.png" id="figure1">
     36 <p class="img-caption">
     37   <strong>Figure 1.</strong> Functional diagram of the TV Input Framework
     38 </p>
     39 
     40 <p>
     41   The TV Input Framework is designed to provide access to a wide variety of live TV input sources
     42   and bring them together in a single user interface for users to browse, view, and enjoy content.
     43   Building a TV input service for your content can help make it more accessible on TV devices.
     44 </p>
     45 
     46 <p>For more information about TV Input Framework, see the
     47 <a href="{@docRoot}reference/android/media/tv/package-summary.html">android.media.tv</a>
     48 reference.</p>
     49