GithubHelp home page GithubHelp logo

mytvstream's Introduction

mytvstream

Java Attempt to stream backend (TVHeadend, EyeTV…) over the internet using RTMP/HTML5.

Main scheenshot

alt tag

Configuration

You need to copy the included configuration_sample.xml to configuration.xml.

You may also need to adapt the configuration:

<configuration>
  <!-- client configuration may be either flash/rtmp or html/empty -->
  <client type="flash" producerserver="rtmp" audiocodec="mp3" audiobitrate="128000" videocodec="flv" videobitrate="1024000"/>            
  
  <!--  backend configurations multiple -->
  <backends>
    <backend type="htsp">
      <server>192.168.0.34</server>
      <port>9982</port>
      <httpport>9981</httpport>
      <usernmame>hts</usernmame>
      <password>hts</password>
    </backend>    
    <!-- backend type="eyetv">
      <server>192.168.0.7</server>
      <port>2170</port>      
    </backend!-->
  </backends>
</configuration>

The client part defines the rendering part, it may be either flash/rtmp or html. The flash client can produce the video either using the flv codec or the h264 codec, you may adjust the videocodec parameter.

An HTML5 client is available but the real time encoding of the video to theora or webm need huge resource.

The backends section let you define the backend that are present on your local network, you can see an sample of a htsp/tv headend backend and an eye tv backend.

Compile, Execute and Play

These tasks are done invoking maven on the top of the project.

Compilation:

  mvn compile

Execution:

  mvn exec:java -Dexec.args="configuration.xml"
```

Playing
--------

From the machine running the server:
[http://localhost:8085/]()

From everywhere on your local network:
http://"ip_of_the_server":8085/

From the internet:
Your need to forward the port 8085 from your router to the server.
http://"ip_of_your_home":8085/

Background
==========

This project aggregates following components
* flazr (modded version) : provides rtmp streaming
* xuggler 5.4 : provides audio/video transcoding
* jetty(embedded): provides the web server running jsp and servlet.
* bootstrap : provides the frontend.
* jstree : provides the treeview for the channels in the frontend

mytvstream's People

Contributors

bruni68510 avatar

Stargazers

 avatar

Watchers

 avatar gogogogi avatar

Forkers

amfahrus jbadon05

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.