JW Player RTMP工作嵌入式,自托管不

时间:2015-10-06 18:00:07

标签: jwplayer

使用嵌入式流工作,但不是自托管

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中检查

有什么想法吗?

0 个答案:

没有答案