Giter Club home page Giter Club logo

node-iptv-proxy's Introduction

A simple proxy for live IPTV streams written in NodeJS

Initial goal

This proxy was originally written as a frontend for VLC's HTTP Streaming interface. The initial goal was to play elements from a VLC instance converting IPTV RTSP streams to HTTP and grabing the requested channel depending on the incoming url. As soon as a client disconnected, we would send a "stop command" to VLC in order to avoid reading the IPTV source uselessly.

For instance accessing "http://localhost:1234/stream/france2" would :

  • Access VLC's control interface and locate the "France2" channel in the playlist
  • Start playing this channel
  • Forward the stream to the client
  • When the client disconnects, send a "Stop" command to VLC

Current features

This has evolved to a more generic IPTV proxy able to read from several backends. Currently we support the following IPTV sources :

  • VLC (for instance used as an HTTP<->RTSP relay)
  • VDR + StreamDev
  • Simple HTTP urls

Our proxy will restream video from any of these sources while enabling :

  • Load balancing
  • On-the-fly Transcoding
  • "Live"-Caching : if two clients request the same stream, only one upstream connection will be used
  • Precise client statistics

See README.fbx.md for an example setup involving VLC and "Freebox" (French IPTV provider) channels.

One typical use case is to restream channels offered by your IPTV provider to a mobile device outside of your home. For instance to watch sport events while in transit ;)

License

See LICENSE.md

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.