# Testing Wowza on LAN - is a 10-20 second delay typical?

**URL:** https://community.wowza.com/t/testing-wowza-on-lan-is-a-10-20-second-delay-typical/37470
**Category:** Wowza Streaming Engine
**Created:** [October 20, 2011, 9:08am UTC](https://community.wowza.com/t/testing-wowza-on-lan-is-a-10-20-second-delay-typical/37470 "2011-10-20T09:08:48Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![Leonard\_Teo](https://avatars.discourse-cdn.com/v4/letter/l/a6a055/32.png) [@Leonard\_Teo](https://community.wowza.com/u/Leonard_Teo)
#### Post date: [October 20, 2011, 9:08am UTC](https://community.wowza.com/t/testing-wowza-on-lan-is-a-10-20-second-delay-typical/37470/1 "2011-10-20T09:08:48Z")

</div>

Hi there,

I’m doing some development tests for a client and we’re interested in using Wowza for a live streaming application.

I have deployed Wowza to a local server. This setup is all running on a LAN so there shouldn’t be any network latency issues.

I’m running Flash Media Live Encoder on a Macbook Pro laptop (i5 processors, 4GB RAM). I’ve set my encoding options for H264 (as we’re streaming to iOS devices), bitrate is very low at 200kbps for video and 56 kbps for audio, resolution 320x240/15fps. Audio is MP3 mono 44khz. So…everything is quite low (IMO).

When testing a live stream to both iPad and iPhone, the latency is around 10-20 seconds. When the above settings were higher they went way up to over 30 seconds.

As per this guide ([https://www.wowza.com/docs/how-to-set-up-low-latency-applications-in-wowza-streaming-engine-for-rtmp-streaming](https://www.wowza.com/docs/how-to-set-up-low-latency-applications-in-wowza-streaming-engine-for-rtmp-streaming)), I also included the flushInterval property in the Application.xml file:

flushInterval

25

Integer

My question is…is a delay of 10-20 seconds considered ‘normal’? What would be an ideal normal range for latency in terms of live streaming? I’m curious to know what others are experiencing so that we have an optimal setup.

Thanks,

Leonard

---

<div class="post-metadata">

### Author: ![Steve\_McFarlin](https://avatars.discourse-cdn.com/v4/letter/s/aca169/32.png) [@Steve\_McFarlin](https://community.wowza.com/u/Steve_McFarlin)
#### Post date: [October 20, 2011, 1:15pm UTC](https://community.wowza.com/t/testing-wowza-on-lan-is-a-10-20-second-delay-typical/37470/2 "2011-10-20T13:15:44Z")

</div>

This is considered normal for HTTP Live Streaming. The video is segmented into chunks. You might be able to reduce this a little by reducing the chunk size in wowza (if possible).

With live streaming you should be able to obtain latencies below 1 second. For instance try using VLC to view the stream. You should have a very low latency. With my application I send iOS -\> RTP -\> Wowza/EC2 -\> RTP -\> VLC with round trip times around 300 to 500ms. The same could be achieved on iOS if you use RTP to stream into the phone.

---

<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: [October 28, 2011, 10:06am UTC](https://community.wowza.com/t/testing-wowza-on-lan-is-a-10-20-second-delay-typical/37470/3 "2011-10-28T10:06:59Z")

</div>

Refer to this article for Sanjose settings:

[https://www.wowza.com/docs/how-to-configure-adobe-hds-packetization-sanjosestreaming](https://www.wowza.com/docs/how-to-configure-adobe-hds-packetization-sanjosestreaming))

[https://www.wowza.com/docs/how-to-control-access-to-adobe-hds-streaming-sanjosestreaming](https://www.wowza.com/docs/how-to-control-access-to-adobe-hds-streaming-sanjosestreaming)

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: [October 28, 2011, 12:46pm UTC](https://community.wowza.com/t/testing-wowza-on-lan-is-a-10-20-second-delay-typical/37470/4 "2011-10-28T12:46:31Z")

</div>

Right, sorry. I grabbed the wrong one. This is correct:

[https://www.wowza.com/docs/how-to-configure-adobe-hds-packetization-sanjosestreaming](https://www.wowza.com/docs/how-to-configure-adobe-hds-packetization-sanjosestreaming))

Richard

---

<div class="post-metadata">

### Author: ![Ian\_Beyer](https://avatars.discourse-cdn.com/v4/letter/i/e99b99/32.png) [@Ian\_Beyer](https://community.wowza.com/u/Ian_Beyer)
#### Post date: [October 23, 2011, 7:44am UTC](https://community.wowza.com/t/testing-wowza-on-lan-is-a-10-20-second-delay-typical/37470/5 "2011-10-23T07:44:28Z")

</div>

Glad you got it working. There’s an inherent delay in any of the HTTP delivery methods because of the packetizing process. With RTMP/RTSP, latency can usually be measured in frames, rather than seconds since the server is simply redistributing them. You add a little bit more if you’re using an edge/origin setup, but it’s often still sub-second.

-Ian

---

<div class="post-metadata">

### Author: ![Marcello\_M](https://avatars.discourse-cdn.com/v4/letter/m/3e96dc/32.png) [@Marcello\_M](https://community.wowza.com/u/Marcello_M)
#### Post date: [October 28, 2011, 4:12am UTC](https://community.wowza.com/t/testing-wowza-on-lan-is-a-10-20-second-delay-typical/37470/6 "2011-10-28T04:12:09Z")

</div>

Hi,

I am streaming with SanJose/HTTP using Strobe. I have put into place on the Application.xml properties for LiveStreamingPacketizer:

cupertinoChunkDurationTarget

8000

Integer

cupertinoMaxChunkCount

2

Integer

cupertinoPlaylistChunkCount

2

Integer

cupertinoRepeaterChunkCount

2

Integer

Before & After of about 50-60 seconds behind real time. I guess these values are for Cupertino, not SJ. If so, anything to help reduce on SanJose/HTTP side ?

Thanks.

Edit: I am using Keyframes in FMLE of 2.

---

<div class="post-metadata">

### Author: ![Marcello\_M](https://avatars.discourse-cdn.com/v4/letter/m/3e96dc/32.png) [@Marcello\_M](https://community.wowza.com/u/Marcello_M)
#### Post date: [October 28, 2011, 4:33am UTC](https://community.wowza.com/t/testing-wowza-on-lan-is-a-10-20-second-delay-typical/37470/7 "2011-10-28T04:33:57Z")

</div>

I have made a change by thinking on my own, to change ‘cupertino’ to ‘sanjose’.

sanjoseChunkDurationTarget

8000

Integer

sanjoseMaxChunkCount

2

Integer

sanjosePlaylistChunkCount

2

Integer

sanjoseRepeaterChunkCount

2

Integer

I have put these in LiveStreamPacketizer.xml under sanjose & repeater for both Or+Ed. to be safe.

I have gotten the delay from Live down to 25 seconds or so. If any other tips for myself + others who might just be browsing this thread, would be appreciated.

Thanks.

---

<div class="post-metadata">

### Author: ![Marcello\_M](https://avatars.discourse-cdn.com/v4/letter/m/3e96dc/32.png) [@Marcello\_M](https://community.wowza.com/u/Marcello_M)
#### Post date: [October 28, 2011, 5:59am UTC](https://community.wowza.com/t/testing-wowza-on-lan-is-a-10-20-second-delay-typical/37470/8 "2011-10-28T05:59:04Z")

</div>

That seems to refer to as something about Access Control, not settings to lower delay from Live to actual stream viewed.

But appreciate it no less.

Thanks.

> Refer to this article for Sanjose settings:
> 
> [Control access to HTTP streams with the Wowza Streamin](https://www.wowza.com/docs/how-to-control-access-to-adobe-hds-streaming-sanjosestreaming)
> 
> Richard

---

<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: [October 21, 2011, 9:41am UTC](https://community.wowza.com/t/testing-wowza-on-lan-is-a-10-20-second-delay-typical/37470/9 "2011-10-21T09:41:31Z")

</div>

Hi Leonard

I think this is what you need here,

[https://www.wowza.com/docs/how-to-configure-apple-hls-packetization-cupertinostreaming](https://www.wowza.com/docs/how-to-configure-apple-hls-packetization-cupertinostreaming))

Note that the key frames in your encoder should be set at about 1 second to get the lowest latency due to how HLS works

Jason

---

<div class="post-metadata">

### Author: ![Leonard\_Teo](https://avatars.discourse-cdn.com/v4/letter/l/a6a055/32.png) [@Leonard\_Teo](https://community.wowza.com/u/Leonard_Teo)
#### Post date: [October 22, 2011, 7:41pm UTC](https://community.wowza.com/t/testing-wowza-on-lan-is-a-10-20-second-delay-typical/37470/10 "2011-10-22T19:41:59Z")

</div>

Thanks guys. With the settings, I got the HTTP streaming delay down to 7 seconds. When testing with RTSP, the delay is almost negligible. Nice.

---

<div class="post-metadata">

### Author: ![Nicolas\_Vanhaute](https://avatars.discourse-cdn.com/v4/letter/n/a4c791/32.png) [@Nicolas\_Vanhaute](https://community.wowza.com/u/Nicolas_Vanhaute)
#### Post date: [November 29, 2011, 11:26am UTC](https://community.wowza.com/t/testing-wowza-on-lan-is-a-10-20-second-delay-typical/37470/11 "2011-11-29T11:26:56Z")

</div>

> Thanks guys. With the settings, I got the HTTP streaming delay down to 7 seconds. When testing with RTSP, the delay is almost negligible. Nice.

Hi,

can you share what you changed/added exactly in some files ?

I’m interested to get the same result as you.

Thanks

Nicolas

---

<div class="post-metadata">

### Author: ![Piyush\_Sharma](https://avatars.discourse-cdn.com/v4/letter/p/e36b37/32.png) [@Piyush\_Sharma](https://community.wowza.com/u/Piyush_Sharma)
#### Post date: [January 9, 2014, 1:35am UTC](https://community.wowza.com/t/testing-wowza-on-lan-is-a-10-20-second-delay-typical/37470/12 "2014-01-09T01:35:26Z")

</div>

Able to run wowza live streaming on my local,but not able to see the live streaming on other system in LAN
