nginx-mod-rtmp/test/www/index.html
2013-03-20 16:00:37 +04:00

19 lines
479 B
HTML

<b>Play</b> | <a href="record.html">Record</a>
<br/>
<script type="text/javascript" src="/jwplayer/jwplayer.js"></script>
<div id="container">Loading the player ...</div>
<script type="text/javascript">
jwplayer("container").setup({
sources: [
{
file: "rtmp://localhost/myapp?carg=1/mystream?sarg=2"
}
],
autostart: true,
width: 640,
height: 480,
primary: "flash"
});
</script>