# Live-Lowlatency with JW Player = Delay increasing over time. Please Help!

**URL:** https://community.wowza.com/t/live-lowlatency-with-jw-player-delay-increasing-over-time-please-help/36145
**Category:** Wowza Streaming Engine
**Created:** [May 11, 2011, 8:27am UTC](https://community.wowza.com/t/live-lowlatency-with-jw-player-delay-increasing-over-time-please-help/36145 "2011-05-11T08:27:36Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Pedro\_Oliveira](https://avatars.discourse-cdn.com/v4/letter/p/43a26b/32.png) [@Pedro\_Oliveira](https://community.wowza.com/u/Pedro_Oliveira)
#### Post date: [May 11, 2011, 8:27am UTC](https://community.wowza.com/t/live-lowlatency-with-jw-player-delay-increasing-over-time-please-help/36145/1 "2011-05-11T08:27:36Z")

</div>

Hello all, I’m trying to set up a low latency live streaming using Wowza and FMLE. Everything looks good at start, I could achieve a very low delay (lower than a second), but as time goes by it starts to get a lot delay, after 20 minutes what once was less than a second now goes up to 5 seconds.

My set up is:

- Wowza Server running on Ubuntu

- FMLE encoder running on OSX

- /conf/live/application.xml - stream type set to “live-lowlatency”

- /conf/streams.xml - flushinterval set to 20 (on live-lowlatency)

- Jw Player set to bufferLength 0.2

On FMLE everything looks good there is no buffer or droped frames going on.

And the weirdest thing is: When I refresh (stop and play) the player, the delay goes back to lower than a second. So I figure out it must be a problem with the player, right?

Can anyone help me out?

Thank’s in advance.

---

<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 11, 2011, 4:36pm UTC](https://community.wowza.com/t/live-lowlatency-with-jw-player-delay-increasing-over-time-please-help/36145/2 "2011-05-11T16:36:55Z")

</div>

Try StreamType “live”, and try a lower bitrate.

Richard

---

<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 11, 2011, 2:38pm UTC](https://community.wowza.com/t/live-lowlatency-with-jw-player-delay-increasing-over-time-please-help/36145/3 "2011-05-11T14:38:43Z")

</div>

In your player try setting the NetStream.bufferTime to zero. This should put the Flash player in a mode where it will play the stream as frames arrive.

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 11, 2011, 5:42pm UTC](https://community.wowza.com/t/live-lowlatency-with-jw-player-delay-increasing-over-time-please-help/36145/4 "2011-05-11T17:42:07Z")

</div>

Did you try lower bitrate? Try half, just to test.

Richard

---

<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 12, 2011, 7:21pm UTC](https://community.wowza.com/t/live-lowlatency-with-jw-player-delay-increasing-over-time-please-help/36145/5 "2011-05-12T19:21:24Z")

</div>

Pedro,

Still sounds like bitrate vs bandwith. I know you are down to 300kbs but it might still be too high.

Try the BWCheck example to get an actual look at the bandwidth between Wowza and the client that you are testing with. It’s in the examples folder.

Richard

---

<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 13, 2011, 3:13pm UTC](https://community.wowza.com/t/live-lowlatency-with-jw-player-delay-increasing-over-time-please-help/36145/6 "2011-05-13T15:13:49Z")

</div>

See what BWCheck reports.

Richard

---

<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 17, 2011, 11:59am UTC](https://community.wowza.com/t/live-lowlatency-with-jw-player-delay-increasing-over-time-please-help/36145/7 "2011-05-17T11:59:04Z")

</div>

Pedro,

Take a look at this version which measures from client to Wowza:

> [@Dynamic Bandwidth Detection (BWCheck)](http://community.wowza.com/t/-/73):
>
> Below is a bandwidth checker from forum contributor Roger. It is a Wowza Pro/Java version of the bandwidth checker discussed in this article: [http://www.adobe.com/devnet/flashcom/articles/flvideo\_bandwidth.html](http://www.adobe.com/devnet/flashcom/articles/flvideo_bandwidth.html) Java code: Download a built version of this code from [wms-plugin-bwcheck.zip](https://www.wowza.com/downloads/forums/bwcheck/wms-plugin-bwcheck.zip) Unzip and copy the wms-plugin-bwcheck.jar file (not the entire folder) into the [install-dir]/lib folder and restart the server package com.wowza.wms.plugin.bwcheck; import java.util.\*; import com.wowza.…

Richard

---

<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 17, 2011, 2:38pm UTC](https://community.wowza.com/t/live-lowlatency-with-jw-player-delay-increasing-over-time-please-help/36145/8 "2011-05-17T14:38:09Z")

</div>

Pedro,

Stick with the standard BWCheck. That’s what makes the most sense.

Richard

---

<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 17, 2011, 10:50pm UTC](https://community.wowza.com/t/live-lowlatency-with-jw-player-delay-increasing-over-time-please-help/36145/9 "2011-05-17T22:50:12Z")

</div>

I can add this to the Modules collection.

Richard

---

<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 17, 2011, 11:16pm UTC](https://community.wowza.com/t/live-lowlatency-with-jw-player-delay-increasing-over-time-please-help/36145/10 "2011-05-17T23:16:11Z")

</div>

I added it to collection:

[https://www.wowza.com/docs/how-to-check-bandwidth-from-client-to-server-to-test-uplink-to-be-used-by-a-live-stream-encoder-moduleclientbwcheck](https://www.wowza.com/docs/how-to-check-bandwidth-from-client-to-server-to-test-uplink-to-be-used-by-a-live-stream-encoder-moduleclientbwcheck)

Richard

---

<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, 2011, 8:24pm UTC](https://community.wowza.com/t/live-lowlatency-with-jw-player-delay-increasing-over-time-please-help/36145/11 "2011-05-18T20:24:45Z")

</div>

Do you have Flash CS or Flash Builder? You need that to create the client part. the actionscript is in that post. I’ll see about doing it but not sure when.

Richard

---

<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 20, 2011, 12:18pm UTC](https://community.wowza.com/t/live-lowlatency-with-jw-player-delay-increasing-over-time-please-help/36145/12 "2011-05-20T12:18:25Z")

</div>

The client-side in that example is AS2, so I am having to dust-off my AS2 \> AS3 skill set, which got a little rusty.

Richard

---

<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 20, 2011, 6:02pm UTC](https://community.wowza.com/t/live-lowlatency-with-jw-player-delay-increasing-over-time-please-help/36145/13 "2011-05-20T18:02:12Z")

</div>

That does look helpful. Buried on page 9. Thanks.

Richard

---

<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 22, 2011, 2:45pm UTC](https://community.wowza.com/t/live-lowlatency-with-jw-player-delay-increasing-over-time-please-help/36145/14 "2011-05-22T14:45:42Z")

</div>

Pedro,

I added a Flex 4 client for the client to server BW check example. The source is added to the [article](https://www.wowza.com/docs/how-to-check-bandwidth-from-client-to-server-to-test-uplink-to-be-used-by-a-live-stream-encoder-moduleclientbwcheck%28Client-to-Server%29)

A built version can be [downloaded here](https://www.wowza.com/downloads/forums/collection/clientBWCheck.)

Richard

---

<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 22, 2011, 4:56pm UTC](https://community.wowza.com/t/live-lowlatency-with-jw-player-delay-increasing-over-time-please-help/36145/15 "2011-05-22T16:56:46Z")

</div>

I added a ColumnChart to track and compare tests.

Richard

---

<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 22, 2011, 7:13pm UTC](https://community.wowza.com/t/live-lowlatency-with-jw-player-delay-increasing-over-time-please-help/36145/16 "2011-05-22T19:13:54Z")

</div>

You are loading the other BWCheck somehow. There is no onBWDone in this one (some of the code snips have placeholders for it but were vestigial). Use the collection jar and the exact Module in this post:

[https://www.wowza.com/docs/how-to-check-bandwidth-from-client-to-server-to-test-uplink-to-be-used-by-a-live-stream-encoder-moduleclientbwcheck](https://www.wowza.com/docs/how-to-check-bandwidth-from-client-to-server-to-test-uplink-to-be-used-by-a-live-stream-encoder-moduleclientbwcheck))

```auto
<Module>
	<Name>ClientBWCheck</Name>
	<Description>ClientBWCheck</Description>
	<Class>com.wowza.wms.plugin.collection.module.ModuleClientBWCheck</Class>
</Module>

```

I named the application “upbwchecK”

Richard

---

<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 22, 2011, 7:15pm UTC](https://community.wowza.com/t/live-lowlatency-with-jw-player-delay-increasing-over-time-please-help/36145/17 "2011-05-22T19:15:14Z")

</div>

Remember to restart Wowza after copying the collection jar to your Wowza lib folder.

Richard

---

<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 22, 2011, 7:29pm UTC](https://community.wowza.com/t/live-lowlatency-with-jw-player-delay-increasing-over-time-please-help/36145/18 "2011-05-22T19:29:47Z")

</div>

For each computer you want to use this on you have to copy the jar file from the module collection:

[https://www.wowza.com/docs/utility-modules-for-wowza-streaming-engine-media-server-software](https://www.wowza.com/docs/utility-modules-for-wowza-streaming-engine-media-server-software)

To the Wowza lib folder, and restart Wowza.

Then create a new application (I named mine “upbwcheck”, and and add the Module to the new Application.xml. I’m sure you will get it going.

Richard

---

<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 22, 2011, 8:04pm UTC](https://community.wowza.com/t/live-lowlatency-with-jw-player-delay-increasing-over-time-please-help/36145/19 "2011-05-22T20:04:55Z")

</div>

Take a look at your access and error logs

Richard

---

<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 24, 2011, 12:43pm UTC](https://community.wowza.com/t/live-lowlatency-with-jw-player-delay-increasing-over-time-please-help/36145/20 "2011-05-24T12:43:29Z")

</div>

Pedro,

I had hard-coded netconnection.connect using localhost instead of using TextInput. I updated and replaced the built version.

[https://www.wowza.com/downloads/forums/collection/clientBWCheck.zip](https://www.wowza.com/downloads/forums/collection/clientBWCheck.zip)

Sounds like you got it going in Flex anyway.

Richard

[Next page](https://community.wowza.com/t/live-lowlatency-with-jw-player-delay-increasing-over-time-please-help/36145.md?page=2)
