![](https://secure.gravatar.com/avatar/cb70fb5742e7347c198e7c30e09c3dcf?rating=PG&size=50&default=https%3A%2F%2Fcdn.desk.com%2Fassets%2Funknown_user_50-8ad5644bbe6b1bd7454f2ea465f782bd.png)
RTMP Error loading stream
Hello,
I have an error when trying to play a live streaming using RTMP.
With VLC, the web page can connect to the server without any problem. However, the quality of the stream is really bad and slow.
With JWPlayer, the web page couldn't even connect to the server. It is not a problem of firewall. The domain and the application's path are correct.
Please help me.
error: Error loading stream: could not connect to server.
code html:
[...]
<head>
<script type='text/javascript' src='jwplayer/jwplayer.js'></script>
<script type='text/javascript' src='jwplayer/jwplayer.flash.swf'></script>
<script type="text/javascript">jwplayer.key="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";</script>
</head>
<body>
<p><strong style="color:#180CAC;">TEST</strong></p>
<div id="myElement"></div>
<script>
jwplayer("myElement").setup({
height: "360",
width: "720",
file: "rtmp://xx.xx.xx.xx:1935/vnsdk/S0"
});
</script>
</body>