# live streaming with jw player

**URL:** <https://community.wowza.com/t/live-streaming-with-jw-player/620>\
**Category:** Wowza Streaming Engine\
**Created:** [May 7, 2009, 12:29pm UTC](https://community.wowza.com/t/live-streaming-with-jw-player/620 "2009-05-07T12:29:41Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/system/32/447_2.png) [@system](https://community.wowza.com/u/system)\
**Post date:** [May 7, 2009, 12:29pm UTC](https://community.wowza.com/t/live-streaming-with-jw-player/620/1 "2009-05-07T12:29:41Z")

</div>

Hello!

I’m havnig trouble with jw player and my live stream though wowza.

Using this tutorial [https://www.wowza.com/forums/showthread.php?p=5020](https://www.wowza.com/forums/showthread.php?p=5020) i got video and audio thru wowza test flash player (using Broadcast over TCP in Broadcaster). Trying to connect jw player and wowza using manual [http://community.wowza.com/t/-/33](http://community.wowza.com/t/-/33) i don’t see anything.

Where i should put this code:

i put it in readme file of jw player around line 24 (before existing line _script type=“text/javascript”…_ when i push play i got message Video not found: video.flv

jw player version - 4.4.198

Please, help to resolve my problem.

Thanks in advance

---

<div class="post-metadata">

**Author:** ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)\
**Post date:** [May 7, 2009, 3:41am UTC](https://community.wowza.com/t/live-streaming-with-jw-player/620/2 "2009-05-07T03:41:04Z")

</div>

The stream name (file in JW) is wrong:

```auto
<script type="text/javascript">
var s1 = new SWFObject("player.swf","ply","328","200","9","#FFF FFF");
s1.addParam("allowfullscreen","true");
s1.addParam("allowscriptaccess","always");
s1.addParam("flashvars","fullscreen=true&bufferlength=2&streamer=rtmp://[server-ip-address]/live&file=myStream.sdp");
s1.write("container");
</script>

```

Obviously you need to change [server-ip-address] to the ip address of the srever running Wowza Pro.

Charlie

---

<div class="post-metadata">

**Author:** ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)\
**Post date:** [February 23, 2010, 12:39pm UTC](https://community.wowza.com/t/live-streaming-with-jw-player/620/3 "2010-02-23T12:39:41Z")

</div>

I had the same issue today. It seems like live playback is broken in the current version of JW Player. I am also having problems with video on demand playback as well (stutters for 2 seconds at the start). I suggest installing JW Player 4.x for now until it gets resolved:

[http://community.wowza.com/t/-/33](http://community.wowza.com/t/-/33)

I have sent a message to the JW Player folks to make sure we get this resolved quickly.

Charlie

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [May 18, 2009, 2:38pm UTC](https://community.wowza.com/t/live-streaming-with-jw-player/620/4 "2009-05-18T14:38:00Z")

</div>

As mentioned, if you are getting “video not found”, this indicates the problem is the “file” Flashvar, which you have set to “myStream.sdp”. Is there a file named “myStream.sdp” in your content folder?

Note the upper case “S”

Richard

---

<div class="post-metadata">

**Author:** ![Neil\_Smith](https://avatars.discourse-cdn.com/v4/letter/n/b5ac83/32.png) [@Neil\_Smith](https://community.wowza.com/u/Neil_Smith)\
**Post date:** [May 19, 2009, 3:27am UTC](https://community.wowza.com/t/live-streaming-with-jw-player/620/5 "2009-05-19T03:27:02Z")

</div>

As noted by rrlanham, you need to specify .sdp (session description protocol) for Live streams, instead of .flv; Note that the .sdp “file” never really exists as an actual file - it’s a placeholder to ensure the server understands this is a live stream, and not a file of the same name.

I found (today) with some awkward debugging, the same issue with slightly different embed code. The problem was present when using JW plyer 4.4.198 (newest) rather than a previously tested 4.1.60, and gave ‘Stream Not Found’ with otherwise just right URLs.

Also in your streamer : this application name is similar to a directory path, and should end in a slash (see code example below) or again, you’ll get Stream Not Found, as the request made to wowza seen in the log files, is incorrcet and you’d see " Application folder ([install-location]/applications/) is missing" in the logs.

Here’s the test code I was using - YMMV - but if all else fails, try with earlier JW player to ensure you’ve not ‘crossed the beams’ !

> sFileName = ‘test.sdp’;
> 
> sContainer = ‘preview’;
> 
> function showLoader(sFileName, sContainer) {
> 
> var flashvars = {
> 
> file: sFileName,
> 
> streamer: “rtmp://ec2.xxx.xxx.xxx/event/”,
> 
> type: “video”,
> 
> bufferlength: “0.5”,
> 
> repeat: “none”,
> 
> playlist: “none”,
> 
> autostart: “false”,
> 
> fullscreen: “true”,
> 
> volume: “100”,
> 
> quality: “true”,
> 
> stretching: “none”
> 
> };
> 
> var params = { };
> 
> var attributes = { };
> 
> // NS : The syntax above was developed for JW player 4.1.60, but shows ‘stream not found’ for JM player player-4.4.198.swf
> 
> // You will need to re-check the JW player site to find out what’s changed for later player versions which causes this
> 
> // DO NOT DEPLOY 4.4.198. to customers until this is resolved.
> 
> swfobject.embedSWF(“flash/player-4.1.60.swf”, sContainer, “273”, “223”, “9”, “/flash/expressInstall.swf”, flashvars, params, attributes);
> 
> } // End function showLoader
> 
> NS : Correction - After more investigations, the change of behaviour was pinned down to the ‘type:’ value above. If it’s specified as ‘video’ this works OK in 4.1.60; For 4…4.198, the value _MUST_ read type = “rtmp” for live video from a Wowza or Flash streaming server.
> 
> HTH - Cheers, Neil

---

<div class="post-metadata">

**Author:** ![Kenneth\_Lee](https://avatars.discourse-cdn.com/v4/letter/k/ecae2f/32.png) [@Kenneth\_Lee](https://community.wowza.com/u/Kenneth_Lee)\
**Post date:** [June 15, 2009, 12:08pm UTC](https://community.wowza.com/t/live-streaming-with-jw-player/620/6 "2009-06-15T12:08:25Z")

</div>

FYI, I was able to play live stream from WOWZA in the latest JW Player (v4.4) with the codes below.

```auto
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
	swfobject.registerObject("player","9.0.98","expressInstall.swf");
</script>
<object id="player" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" name="player" width="480" height="360">
	<param name="movie" value="player.swf" />
	<param name="allowfullscreen" value="true" />
	<param name="allowscriptaccess" value="always" />
	<param name="flashvars" value="fullscreen=true&bufferlength=0.5&streamer=rtmp://[SERVER-IP]/rtplive&file=mystream.flv" />
</object>

```

Thanks,

Bruce

---

<div class="post-metadata">

**Author:** ![Antonino\_Quartarone](https://avatars.discourse-cdn.com/v4/letter/a/c6cbf5/32.png) [@Antonino\_Quartarone](https://community.wowza.com/u/Antonino_Quartarone)\
**Post date:** [June 14, 2009, 3:57pm UTC](https://community.wowza.com/t/live-streaming-with-jw-player/620/7 "2009-06-14T15:57:54Z")

</div>

I used the basic code and I had modified the string in second part of the script with live streaming settings. It works fine. I’m testing for the autostart function…

```auto
<script type="text/javascript"> 
var s1 = new SWFObject("player.swf","ply","328","200","9","#FFFFFF"); 
s1.addParam("allowfullscreen","true"); 
s1.addParam("allowscriptaccess","always"); 
s1.addParam("flashvars","fullscreen=true&bufferlength=2&streamer=rtmp://<serverIP>/<wowza_app>&file=live.sdp"); 
s1.write("container"); 
</script> 
<script type="text/javascript" src="swfobject.js"></script> 
<script type="text/javascript"> 
swfobject.registerObject("player","9.0.98","expressInstall.swf"); 
</script> 
<object id="player" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" name="player" width="328" height="200"> 
<param name="movie" value="player-viral.swf" /> 
<param name="allowfullscreen" value="true" /> 
<param name="allowscriptaccess" value="always" /> 
<param name="flashvars" value="fullscreen=true&bufferlength=2&streamer=rtmp://<serverIP>/<wowza_app>&file=live.sdp" /> 
<object type="application/x-shockwave-flash" data="player-viral.swf" width="328" height="200"> 
<param name="movie" value="player-viral.swf" /> 
<param name="allowfullscreen" value="true" /> 
<param name="allowscriptaccess" value="always" /> 
<param name="flashvars" value="fullscreen=true&bufferlength=2&streamer=rtmp://<serverIP>/<wowza_app>&file=live.sdp" /> 
Get" target="_blank">http://get.adobe.com/flashplayer">Get Flash to see this player.
</object> 
</object>

```

---

<div class="post-metadata">

**Author:** ![Ivan\_Petrov](https://avatars.discourse-cdn.com/v4/letter/i/d26b3c/32.png) [@Ivan\_Petrov](https://community.wowza.com/u/Ivan_Petrov)\
**Post date:** [May 7, 2009, 2:17pm UTC](https://community.wowza.com/t/live-streaming-with-jw-player/620/8 "2009-05-07T14:17:43Z")

</div>

No, there i put ip of my server 🙂 for security reasons i put default configuration

---

<div class="post-metadata">

**Author:** ![Ivan\_Petrov](https://avatars.discourse-cdn.com/v4/letter/i/d26b3c/32.png) [@Ivan\_Petrov](https://community.wowza.com/u/Ivan_Petrov)\
**Post date:** [May 18, 2009, 4:30pm UTC](https://community.wowza.com/t/live-streaming-with-jw-player/620/9 "2009-05-18T16:30:26Z")

</div>

anybody help 😕

---

<div class="post-metadata">

**Author:** ![theo\_melios](https://avatars.discourse-cdn.com/v4/letter/t/9d8465/32.png) [@theo\_melios](https://community.wowza.com/u/theo_melios)\
**Post date:** [February 23, 2010, 12:36pm UTC](https://community.wowza.com/t/live-streaming-with-jw-player/620/10 "2010-02-23T12:36:58Z")

</div>

Hey everyone, I am trying to get JW PLAYER 5 working w/ Wowza 2

I have the following:

I also tried streamer=rtmp://192.168.1.185:1935/live/

What happens is I only get an image of the stream and the loading icon continues. The stream works perfect with wowza livestream example.
