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