Video streaming 使用JWPlayer的RTMP流

Video streaming 使用JWPlayer的RTMP流,video-streaming,jwplayer,rtmp,live-streaming,jwplayer7,Video Streaming,Jwplayer,Rtmp,Live Streaming,Jwplayer7,我试着搜索前面的问题,但没有帮助。他们可能太老了。 我使用Nginx和RTMP插件在digitalocean上创建了一个RTMP服务器。然后我下载OBS并将其连接到我的RTMP服务器。这是因为像VLC和MPlayer这样的程序可以播放流。然而,JWPlayer似乎并不想这样做。我在Wordpress的页面上发布了这篇文章。 我已经试过了,但帮不了我什么忙,也许你们可以。我正在使用最新的JWPlayer 7.6.1 这是我的密码: <div id="myElement"></di

我试着搜索前面的问题,但没有帮助。他们可能太老了。 我使用Nginx和RTMP插件在digitalocean上创建了一个RTMP服务器。然后我下载OBS并将其连接到我的RTMP服务器。这是因为像VLC和MPlayer这样的程序可以播放流。然而,JWPlayer似乎并不想这样做。我在Wordpress的页面上发布了这篇文章。 我已经试过了,但帮不了我什么忙,也许你们可以。我正在使用最新的JWPlayer 7.6.1

这是我的密码:

<div id="myElement"></div>
<script>
var playerInstance = jwplayer("myElement");
playerInstance.setup({
file: "rtmp://meeting.lwhf.com/live",
image: "http://example.com/jwplayer-7.6.1/out-of-their-heart.jpg",
width: 768,
primary: "flash",
height: 432,
});
</script>

var playerInstance=jwplayer(“myElement”);
playerInstance.setup({
文件:“rtmp://meeting.lwhf.com/live",
图像:“http://example.com/jwplayer-7.6.1/out-of-their-heart.jpg",
宽度:768,
初级:“闪光”,
身高:432,
});
我收到的错误是:设置闪存失败。错误:引发了无效的异常。
谢谢大家!

我无法在Vlc上播放rtmp流。听起来像是闪存错误。你在使用什么浏览器/设备?我无法在Vlc上播放rtmp流。听起来像是闪存错误。您使用的浏览器/设备是什么?