User Tools

Site Tools


playground:playground

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
playground:playground [2021/07/20 11:11]
wai [DTVKit Android Architecture]
playground:playground [2021/07/21 09:01] (current)
jason
Line 1: Line 1:
 ====== Android DVB Tuner Framework ====== ====== Android DVB Tuner Framework ======
 +
 +===== Important =====
 +This information in this page relates to the first release of the DTVkit TunerHAL implementation. This is an alpha release and has primarily been tested using the Android emulator. The Android emulator has certain restrictions in that only H264 video is currently supported and audio is not supported for broadcast media formats. The release has been made available for members that want to experiment with the code at an early stage. The release makes use of a modified version of the Android 'TunerHAL' code that enables transport stream data to be read from a file. With this the DTVkit release can be run in the Android Emulator, it is then possible to 'tune' to the file source, receive SI/EPG information, decode video (H264), and change channel. The code base is currently being tested on reference hardware and will be updated in due course.
 +
  
 =====Background===== =====Background=====
Line 82: Line 86:
  
 =====Building DTVKit Android 11 TunerHAL===== =====Building DTVKit Android 11 TunerHAL=====
-The repository can be cloned from [[https://github.com/DTVKit/Android_11_TunerHAL|Github]]. This release of the tuner HAL implementation is for the emulator.+The repository can be cloned from [[https://github.com/DTVKit/Android_11_TunerHAL|Github]]. This release of the Tuner HAL implementation is for the emulator.
 ====Build and installation==== ====Build and installation====
 1. Clone repo and copy ''default'' folder contents into ''$ANDROID_BUILD_TOP/hardware/interfaces/tv/tuner/1.0/default'' 1. Clone repo and copy ''default'' folder contents into ''$ANDROID_BUILD_TOP/hardware/interfaces/tv/tuner/1.0/default''
Line 98: Line 102:
 </code> </code>
  
 +====Run====
 +This Tuner HAL implementation looks for TS files under ''/vendor'', every file must have a valid frequency as name. For example ''470000000.ts'' (frequency in Hz) for DVB-T.
 =====SELinux Configuration Android 11===== =====SELinux Configuration Android 11=====
 Android uses Security-Enhanced Linux (SELinux) to enforce mandatory access control (MAC) over all processes. SELinux operates in two modes:  Android uses Security-Enhanced Linux (SELinux) to enforce mandatory access control (MAC) over all processes. SELinux operates in two modes: 
playground/playground.1626779492.txt.gz ยท Last modified: 2021/07/20 11:11 by wai