Giter VIP home page Giter VIP logo

red5-hls-plugin's Introduction

red5-hls-plugin

HLS plugin for Red5

The purpose of this plugin is to provide HLS live streaming using an flash media stream as its source.

The plugin utilizes Xuggler for transcoding and is provided as-is; any modifications or fixes will be handled as time permits.

Development of this plugin was sponsored by BigMarker (https://www.bigmarker.com/); BTW they're hiring, contact: [email protected]

The primary Red5 server project continues to reside on Google Code. Post any issues or wiki entries there. https://code.google.com/p/red5/

The Red5 users list may be found here: https://groups.google.com/forum/#!forum/red5interest

Eclipse

To create the eclipse project files, execute this within the plugin and / or example directories:

mvn eclipse:eclipse

Then you will be able to import the projects into Eclipse.

Deployment

  1. Build both the hls-plugin and the example application (or use your own app).
  2. Place the war in the red5/webapps directory
  3. Place the "hls-plugin-1.1.jar" jar in the red5/plugins directory
  4. Put the "xuggle-xuggler-5.x.jar" and "xuggle-utils-1.22.jar" jars in the red5/plugins directory
  5. Start red5

Xuggler

You can download Xuggler 5.4 with native libs included here: http://xuggle.googlecode.com/svn/trunk/repo/share/java/xuggle/xuggle-xuggler/5.4/xuggle-xuggler-5.4.jar

Tiago's Step-by-step Guide

Steps to install in Ubuntu 12.04

Note: Use red5 user to do the not sudo steps

1 - Install required packages
sudo apt-get purge openjdk-6-*
sudo apt-get install openjdk-7-jdk gcc-4.6 g++-4.6 perl yasm ant pkg-config maven2 git make
sudo ln /usr/bin/gcc-4.6 /usr/bin/gcc -s
sudo ln /usr/bin/g++-4.6 /usr/bin/g++ -s

2 - Download red5 (trunk version)
wget "https://builds.apache.org/job/Red5%20Trunk/lastSuccessfulBuild/artifact/trunk/target/red5-server-1.0.2-RC3-server.tar.gz"

3 - Build xuggler
git clone git://github.com/xuggle/xuggle-xuggler.git
cd xuggle-xuggler
ant
cp /home/red5/xuggle-xuggler/dist/lib/xuggle-xuggler-noarch.jar /home/red5/red5-server-1.0.2-RC3/plugins/
cp /home/red5/xuggle-xuggler/dist/lib/xuggle-xuggler-arch-x86_64-unknown-linux-gnu.jar /home/red5/red5-server-1.0.2-RC3/plugins/

4 - Build Red5 HLS plugin
git clone https://github.com/mondain/red5-hls-plugin.git
cd red5-hls-plugin/plugin/
mvn -Dmaven.test.skip=true
cd ../..
mkdir red5-hls-plugin/example/lib/
cp red5-hls-plugin/plugin/target/hls-plugin-1.1.jar red5-hls-plugin/example/lib/

cd red5-hls-plugin/example/
mvn eclipse:eclipse
mvn -Dmaven.test.skip=true


5 - Deploy plugin and example application to red5
cp /home/red5/red5-hls-plugin/example/target/hlsapp-1.1.war /home/red5/red5-server-1.0.2-RC3/webapps/
cp /home/red5/red5-hls-plugin/plugin/target/hls-plugin-1.1.jar  /home/red5/red5-server-1.0.2-RC3/plugins/

6 - Change queueCapacity to 20 in file /home/red5/red5-server-1.0.2-RC3/conf/red5-core.xml

7 - Start red5 server

Donations

Donate to the cause using Bitcoin: https://coinbase.com/checkouts/2c5f023d24b12245d17f8ff8afe794d3

red5-hls-plugin's People

Contributors

mondain avatar

Watchers

 avatar

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.