# 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:** 17\
**Page:** 2

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

</div>

Changing to “live” only increases the delay. “live-lowlatency” is desing to reduce the delay, something that I could achieve, but by some reason the player doesn’t sustain that for long.

---

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

</div>

I did… I’m sending at 300kbps which is way lower than what I need (700 or more)

It’s weird because at the beginning it looks just fine, than after 5 minutes it’s on 3 sec delay and it keep rising over time, but when I stop and play it goes back to normal.

---

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

</div>

I was wrong, it’s not the player. I’ve tried with another player (moyea FLV player for windows) and the problem persist. When I start the broadcast I got very low latency, after a few minutes it goes up.

I’ve also tried running wowza from another machine (my macpro 8 core), got the same problem.

Must be some settings on wowza… does anyone know why is this happening?

thank you.

---

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

</div>

Hi Charlie. If I try to do this, the video gets choppy, it doesn’t play smooth.

---

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

</div>

Ok, I’ll try that.

But FMLE is not buffering, that should be a indication that everything is working fine, right?

---

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

</div>

Hi Richard, I did the BWCheck, looks ok. But I can only test the Download. I searched on the forum for a upload BWCheck, and I found that the CtoSBWCheck.html should do it, but when I open it I only got a blank page. Do you know what’s happening ?

thank you.

---

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

</div>

Hi Richard, there’s a link on the “rogerlittin” post, but it’s broken.

Besides that there’s only actionscripts codes that I don’t know to deal with.

thank you

---

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

</div>

Richard,

most of the time I’m doing live video streaming with FMLE, and sometimes I’m overseas. So It’s really important to know how much upload bandwidth I can get from the FMLE to the Server.

This way I can precisely define which bitrate to use.

---

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

</div>

Richard, thank you very much for your help, I appreciate that.

I’ve downloaded the Modules, and added the line to the /conf/bwcheck/Application.xml Modules list.

But I’m still not sure what should I run on the client side, on the “CtoSBWCheck.html” I’m only geting a blank screen, and on the Modules Collection folder there’s only a “LiveStudio.html” with no option to BWcheck.

---

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

</div>

Richard, I’ve downloaded a trial version of Flash Builder, and created a Actionscript project, but when I paste the code and run debug, I got a lot errors and a blank html pops up.

I’m a complete newbie in Actionscript, so if you could (whenever you can) build the project I’ll be grateful.

Thank’s a lot for your help so far.

---

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

</div>

Thank you very much for this, Richard. I appreciate it!

---

<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 20, 2011, 9:49am UTC](https://community.wowza.com/t/live-lowlatency-with-jw-player-delay-increasing-over-time-please-help/36145/32 "2011-05-20T09:49:33Z")

</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

Richard, I don’t know if that helps or not. But on page 9 of that post, an user posted a AS3 code for the upload client.

> [@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.…

Thank you for your help.

---

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

</div>

Hello Richard, first of all, thank you very much for this.

Now, I’m getting a few errors.

Then I try to connect trough a client I get “NetConnection.Connect.Failed”

The only way I got it to work was on the same computer that the server is running. And even though I can connect I get another error: "Error #2044: Unhandled AsyncErrorEvent:. text=Error #2095: flash.net.NetConnection was unable to invoke callback onBWDone. error=ReferenceError: Error #1069: Property onBWDone not found on flash.net.NetConnection and there is no default value.

at cbwc/mainInit()

at ClientBWCheck/\_\_\_ClientBWCheck\_Button1\_click()"

---

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

</div>

I’ve deleted everything from the last BWChecker original example.

And now I don’t the that error any more.

But I still can’t connect from a computer on another network, I can only connect from the same computer that is running the server.

My server is up and running now, if you like to make a test.

---

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

</div>

I just did that on the server,

But I don’t have to do this on the client side right? On the remote computer I should only run the .html and connect trough the right rtmp://ipaddress:1935/upbwcheck

It’s wired because the FMLE is connecting just fine to Wowza, but when I run the ClientBWCheck.html I always get “NetConnection.Connected.Failed”

---

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

</div>

Richard, I’ve tried everything, checked my firewall, changed network connection, tried without my router (plugged the server straight to the modem, to a public IP). But notting happens.

Every application works just fine, live, rtplive, and eve the old BWcheck works.

I figure that must be a problem on the client, because as soon as I click “Connect” it gives me the “NetConnection.Connect.Failed” It look like it doesn’t even try to connect. And on Wowza screen it doesn’t show a connection attempt either. but again, this only happens when I try to run the client from a remote computer, when I do it from the same machine that the server is running, it connects.

Have you tried to connect the client from a remote computer to the server?

Thank you.

---

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

</div>

Richard,

I’ve kind fixed it.

It’s not a definitive solution, but at least I’ve made it work. Here is how:

Putted everything that is on the article on Flash Builder and on “cbwc.as” I’ve edited the line 66 replacing the: nc.connect(“rtmp://localhost:1935/upbwcheck”); to my server IP nc.connect(“rtmp://xxx.xxx.xx.xxx:1935/upbwcheck”);

Now on the ClientBWCheck.html I replace the “rtmp://localhost:1935/upbwcheck” to “rtmp://xxx.xxx.xx.xxx:1935/upbwcheck” and it works!

But of course If I want to connect to another server I’ll have to compile everything again on Flash Builder with the IP of the new server.

Hope that works.

Thanks a lot for your help!

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