
JW Player Not Connect To RTMP Stream From Wowza
Hi,
Would anyone please be able to help me to resolve a problem I have getting JW Player to connect to a live RTMP stream coming from Wowza? I keep getting the message that JW Player is not supported in offline mode.
I have setup a local web server using XAMMP on my windows PC and placed the JW Player folder with files in the root directory of the local web server (C:\xampp\htdocsjw player\) and I have placed my web page with the JW Player code in the root directory of the local web server.
The Wowza stream is running OK as I can view it using the test players in Wowza but the JW Player will not connect to it. Is JW Player not capable of running on a local web server in the root folder? Or is there an error with my JW Player code? I have pasted the JW Player code below:
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Untitled Document</title>
<script src="/jwplayer/jwplayer.js" ></script>
<script>jwplayer.key="XXXXXXXXXXXXXXXXXXXXXXXXXXXX==";</script>
</head>
<body>
<div id='playerkCCsQilMzLeN'></div>
<script type='text/javascript'>
jwplayer('playerkCCsQilMzLeN').setup({
file: 'rtmp://192.168.1.84:1935/live/feedstream',
image: '/images/logo.jpg',
title: 'Test Stream',
height: 360,
rtmp: {
bufferlength: 0.1
},
width: 640
});
</script>
</body>
</html>
Any help most appreciated as I have spend hours trying to get this to work.
Rgds