使用嵌入式流工作,但不是自托管
https://s3.amazonaws.com/jwtestrtmp/embedded.html https://s3.amazonaws.com/jwtestrtmp/selfhosted.html
<div id="myElement">Loading the player</div>
<script type="text/javascript">
var playerInstance = jwplayer("myElement");
playerInstance.setup({
file: "rtmp://centosstream-k3ds7l33.cloudapp.net/live2/video",
height: 360,
autostart: true,
rtmp: {
subscribe: true
},
width: 640
});
</script>
两者中的相同来源:rtmp://centosstream-k3ds7l33.cloudapp.net/live2/video
Stream很好,在VLC和ffmpeg中检查
有什么想法吗?