deyvid.dimitroff
New Member
Hello,
I'm currently trying to send my live stream to my local hosted web page via Video.js but it doesn't work at all.. I mean it gives me no error but at the same time it doesn't play anything on the web. Have someone used it and does someone know how it works ?
I changed the port from 1935 to 2035 because I'm hosting nginx on virtual machine.
Also does anyone have an idea about free software which can handle rtmp streams on html5 web pages and works properly ?
I'm currently trying to send my live stream to my local hosted web page via Video.js but it doesn't work at all.. I mean it gives me no error but at the same time it doesn't play anything on the web. Have someone used it and does someone know how it works ?
Code:
<html>
<head>
<meta charset="UTF-8">
<title>Document</title>
<link rel="stylesheet" href="video-js.min.css">
<link href="http://vjs.zencdn.net/5.11.9/video-js.css" rel="stylesheet">
<script src="http://vjs.zencdn.net/ie8/1.1.2/videojs-ie8.min.js"> </script>
<script src="http://vjs.zencdn.net/5.11.9/video.js"></script>
<script src="video.min.js"></script>
</head>
<body>
<video id="livestream" class="video-js vjs-default-skin vjs-big-play-centered"
controls autoplay preload="auto" width="1280" height="720"
data-setup='{"example_option":true}'>
<source src="rtmp://127.0.0.1:2035/live/1234" type='rtmp/flv' />
</video>
</body>
</html>
I changed the port from 1935 to 2035 because I'm hosting nginx on virtual machine.
Also does anyone have an idea about free software which can handle rtmp streams on html5 web pages and works properly ?