# Live streaming latency is over 5 seconds

**URL:** https://community.wowza.com/t/live-streaming-latency-is-over-5-seconds/43459
**Category:** Wowza Streaming Engine
**Created:** [July 26, 2014, 6:54am UTC](https://community.wowza.com/t/live-streaming-latency-is-over-5-seconds/43459 "2014-07-26T06:54:18Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Eugene\_Svirepov](https://avatars.discourse-cdn.com/v4/letter/e/48db29/32.png) [@Eugene\_Svirepov](https://community.wowza.com/u/Eugene_Svirepov)
#### Post date: [July 26, 2014, 6:54am UTC](https://community.wowza.com/t/live-streaming-latency-is-over-5-seconds/43459/1 "2014-07-26T06:54:18Z")

</div>

I have read [this article](https://www.wowza.com/docs/how-to-set-up-low-latency-applications-in-wowza-streaming-engine-for-rtmp-streaming) and made steps 2a, 2b, 2c.

I didn’t perform step with “NetStream.setBufferTime()” however, because I’m just testing WOWza prior to purchasing it. So I don’t want to digg into flash player source code prior I make sure that Wowza is what I need. I also see significant latency (over 10 seconds) in the MS Smooth test player.

I have also made some optimization according to [performance tuning](https://www.wowza.com/docs/how-to-do-performance-tuning#tune_xml) section: reduced socket buffer sizes to 32000 bytes. Wowza is installed according to recommendations, as well as Java on my 64 bit system.

Is there any way to see low latency live streaming with wowza without having to edit actionscript source code of Flash player or any other player? Maybe you can recommend specific Flash player where I can pass it through params, or that already has this “NetStream.setBufferTime()” param set to 0 by default?

If not, is there any opensource player , where I can quickly add this “NetStream.setBufferTime()” line and set it to 0, and build it with Flash Professional CS 6?

P.S. Just a notice, it is definitely not the Adobe encoder problem, I see its output that is almost real-time.

I’m sorry for so many questions, but I want to make sure that it is worth spending my time and money digging into it, because it cannot show me law latency at the moment, but this is what I actually need.

---

<div class="post-metadata">

### Author: ![Jason\_Hilton](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/jason_hilton/32/437_2.png) [@Jason\_Hilton](https://community.wowza.com/u/Jason_Hilton)
#### Post date: [July 28, 2014, 2:09pm UTC](https://community.wowza.com/t/live-streaming-latency-is-over-5-seconds/43459/2 "2014-07-28T14:09:39Z")

</div>

Hi,

The article [How to achieve the lowest latency from capture to playback](https://www.wowza.com/docs/how-to-set-up-low-latency-applications-in-wowza-streaming-engine-for-rtmp-streaming) is for Flash RTMP clients only and will not effect the Microsoft Silverlight (Smooth Streaming) players latency. The changes you have made to the tuning will also only effect Flash RTMP clients. To adjust latency for HTTP clients such as Microsoft SS please see the corresponding articles below.

[How to configure Adobe HTTP Dynamic Streaming packetization (sanjosestreaming)](https://www.wowza.com/docs/how-to-configure-adobe-hds-packetization-sanjosestreaming%28sanjosestreaming%29)

[How to configure Apple HTTP Live Streaming packetization (cupertinostreaming)](https://www.wowza.com/docs/how-to-configure-apple-hls-packetization-cupertinostreaming%28cupertinostreaming%29)

[How to configure Microsoft Smooth Streaming packetization (smoothstreaming)](https://www.wowza.com/docs/how-to-configure-microsoft-smooth-streaming-packetization-smoothstreaming%28smoothstreaming%29)

[How to configure MPEG-DASH packetization (mpegdashstreaming)](https://www.wowza.com/docs/how-to-configure-mpeg-dash-packetization-mpegdashstreaming%28mpegdashstreaming%29)

What latency are you currently getting with Flash RTMP clients?

You will also need to restart Wowza Streaming Engine for the changes to take effect, please ensure you have restarted and tried the RTMP client again to test latency.

Regards,

Jason

---

<div class="post-metadata">

### Author: ![Paul\_Shields](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/paul_shields/32/390_2.png) [@Paul\_Shields](https://community.wowza.com/u/Paul_Shields)
#### Post date: [July 28, 2014, 1:53pm UTC](https://community.wowza.com/t/live-streaming-latency-is-over-5-seconds/43459/3 "2014-07-28T13:53:20Z")

</div>

Hi,

HTTP based output formats such as MS Smooth do introduce some latency due to how it manages buffers. You can [tune these](https://www.wowza.com/docs/how-to-configure-microsoft-smooth-streaming-packetization-smoothstreaming%28smoothstreaming%29) to a certain extent. I’m personally not aware of any Flash player that allows NetStream.setBufferTime() to be passed as a parameter but as the article you referred to says, you can define a “buffer” value within a [JW Player script](https://www.wowza.com/docs/how-to-use-jw-player-with-wowza-streaming-engine) which sets the buffer length.

Paul

---

<div class="post-metadata">

### Author: ![Eugene\_Svirepov](https://avatars.discourse-cdn.com/v4/letter/e/48db29/32.png) [@Eugene\_Svirepov](https://community.wowza.com/u/Eugene_Svirepov)
#### Post date: [August 5, 2014, 9:40am UTC](https://community.wowza.com/t/live-streaming-latency-is-over-5-seconds/43459/4 "2014-08-05T09:40:54Z")

</div>

Jason, Paul, I’m getting over 5 seconds latency with test rtmp Flash player. I mentioned Silverlight just as an additional example.

So, there is no way to see real-time wowza streaming until I tune Flash player reducing the buffer size?

Paul, could you pleaase clarify how does the buffer length parameter correlate with buffertime? is it the same? if not, will it be right choice just to set it to 0?

P.S. I thought that real-time streaming with low latency should be pretty common and trivial task, that’s why I’m a little bit surprised that there’s no way to just “plug and play” low-latency streaming andcheck it with built-in wowza test players without having to implement my own test player settings.
