Git Product home page Git Product logo

myiptv's Introduction

A Simple IPTV player

This player is based on Android media3 ExoPlayer and FFmpeg library, to provide a simple player for IPTV user.

Prerequisite

  • HTTP streaming server, such as udpxy that provides a HTTP support for IPTV.
  • (Optional) EPG provider

Compile

Since there are IPTV source support MP2/MP3 audio only, and which is not supported by Android platform, FFmpeg extensions is required to be complied, and the compiled AAR files can be put to app/libs/ folder. There is nothing need to be noted for compiling, as it's a very simple Android application.

Usage

Suppose you have a typical Android TV remote controller, you can use OK button to get the playlist, Left/Right button to switch group, and Up/Down to select channel. To configure this application, use MENU button to open settings page.

M3U URL

A M3U URL is used to tell player where is the streaming source, it needs to be a M3U file with following syntax:

#EXTM3U
#EXTM3U x-tvg-url="http://192.168.1.1/epg.xml"
#EXTINF:-1 tvg-id="1" group-title="Group",Channel Name
http://192.168.1.1:4022/udp/239.9.9.9:9999

Use x-tvg-url to specify EPG URL to get EPG (in XMLTV format). Use tvg-id to match channel in EPG, there is no name match (yet). This player will try to open http://openwrt.lan/iptv.m3u by default.

EPG URL

An optional EPG URL is used to tell player where is the EPG, it needs to point to a XMLTV file.

Known Limitations

  • No channel selection by number
  • No support for SMIL playlist (by ExoPlayer)

License

This program is released under MIT license, see LICENSE for detail.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.