Video live platform based on Red5

Source: Internet
Author: User

Build Environment: Win2008 Server + jdk1.8+red5-server-1.0.6

: Https://github.com/Red5

Modify the Startup configuration file (modified to JDK path):

Installing the template demo:http://127.0.0.1:5080/installer/

The download Obs is published to the streaming media server:

Turn on streaming: Enable live streaming

Indicates a normal state is turned on

Page display based on JSP:

Adopted: Cusunplayer player

<script type= "Text/javascript" >varso =NewSWFObject (".. /player/player.swf "," Mycuplayer "," 1020 "," 605 "," 9 "," #000000 "); So.addparam ("allowFullScreen", "true"); So.addparam ("allowScriptAccess", "Always"); So.addparam ("Wmode", "opaque"); So.addparam ("Quality", "high"); So.addparam ("Salign", "LT");//player settings File-----------------------------So.addvariable ("Jcscpfile", "... /player/cusunv3setlive.xml ");//configuration file/*The following line is only for rtmp live when the example, the live signal is off, please correspond to your own live stream use*/so.addvariable ("Jcscpserver", "rtmp://192.168.32.11/live");                 
So.addvariable ("Jcscpvideopath", "Test"); Live stream Name
So.addvariable ("Jcscpautoplay", "yes"); Whether to play automatically
So.addvariable ("Jcscpimg", "... /player/images/startpic.jpg "); Video thumbnail imageSo.addvariable ("Jcscpsharetitle", "TV Live");//Video TitleSo.write ("Cuplayer");</script><script language=javascript src= ". /player/js/jquery-1.4.2.min.js "type=text/javascript></script> <script language=javascript src=". /player/js/action.js "type=text/javascript></script></div>

Video live platform based on Red5

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.