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

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.

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

Richard

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

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

Richard

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

See what BWCheck reports.

Richard

Pedro,

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

Richard

Pedro,

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

Richard

I can add this to the Modules collection.

Richard

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

Richard

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

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

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

Richard

Pedro,

I added a Flex 4 client for the client to server BW check example. The source is added to the article

A built version can be downloaded here

Richard

I added a ColumnChart to track and compare tests.

Richard

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)

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

I named the application “upbwchecK”

Richard

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

Richard

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

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

Take a look at your access and error logs

Richard

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

Sounds like you got it going in Flex anyway.

Richard