# NetStream.setBufferTime(0) + h.264 + rtp-live-lowlatency = stuttering?

**URL:** <https://community.wowza.com/t/netstream-setbuffertime-0-h-264-rtp-live-lowlatency-stuttering/588>\
**Category:** Wowza Streaming Engine\
**Created:** [May 13, 2009, 1:29pm UTC](https://community.wowza.com/t/netstream-setbuffertime-0-h-264-rtp-live-lowlatency-stuttering/588 "2009-05-13T13:29:18Z")\
**Posts on this page:** 4\
**Page:** 2

<div class="post-metadata">

**Author:** ![Matej\_Horvat](https://avatars.discourse-cdn.com/v4/letter/m/d2c977/32.png) [@Matej\_Horvat](https://community.wowza.com/u/Matej_Horvat)\
**Post date:** [September 19, 2009, 3:32pm UTC](https://community.wowza.com/t/netstream-setbuffertime-0-h-264-rtp-live-lowlatency-stuttering/588/21 "2009-09-19T15:32:40Z")

</div>

I also have frame rate drop on a local network.

Charlie I am still not sure if you understand what is my issue and what am I asking.

Please read my posts more carefully.

Again.

The fact is when streaming the H.264/AAC, 25fps stream to flah player (also local network)

either we have a drop in frame rate to 13 fps (stutterring) and low latency (~1s) or

smooth play (25fps) and 3s latency.

So to our project Wowza is unusefull, because we need to achieve

1s latency with 25fps.

If anyone can tell me a configuration where this is possible I would be very happy.

60fps is a no go, since it takes too much badwidth.

---

<div class="post-metadata">

**Author:** ![Matej\_Horvat](https://avatars.discourse-cdn.com/v4/letter/m/d2c977/32.png) [@Matej\_Horvat](https://community.wowza.com/u/Matej_Horvat)\
**Post date:** [September 19, 2009, 11:05pm UTC](https://community.wowza.com/t/netstream-setbuffertime-0-h-264-rtp-live-lowlatency-stuttering/588/22 "2009-09-19T23:05:38Z")

</div>

Thnx,

I’ll try on Monday and let you know if it works

---

<div class="post-metadata">

**Author:** ![Matej\_Horvat](https://avatars.discourse-cdn.com/v4/letter/m/d2c977/32.png) [@Matej\_Horvat](https://community.wowza.com/u/Matej_Horvat)\
**Post date:** [September 21, 2009, 12:59pm UTC](https://community.wowza.com/t/netstream-setbuffertime-0-h-264-rtp-live-lowlatency-stuttering/588/23 "2009-09-21T12:59:20Z")

</div>

Well it helps.

It works already with flushInterval=40

But I had to change the flushInterval property for the stream type since

the rtp-live-lowlatency uses the rtp-live-lowlatency Mediacaster which then uses rtp-buffer-lowlatency stream type.

so here is how I did it in the Streams.xml:

```auto
		<Stream>
			<Name>rtp-buffer-lowlatency</Name>
			<Description>RTP Buffer</Description>
			<ClassBase>com.wowza.wms.stream.live.MediaStreamLive</ClassBase>
			<ClassPlay></ClassPlay>
			<Properties>
				<Property>
					<Name>maxliveaudiolatency</Name>
					<Value>8000</Value>
				</Property>
				<Property>
					<Name>flushInterval</Name>
					<Value>40</Value>
					<Type>Integer</Type>
				</Property>
				<Property>
					<Name>onFlushNotifyClients</Name>
					<Value>true</Value>
					<Type>Boolean</Type>
				</Property>
			</Properties>
		</Stream>

```

---

<div class="post-metadata">

**Author:** ![Matej\_Horvat](https://avatars.discourse-cdn.com/v4/letter/m/d2c977/32.png) [@Matej\_Horvat](https://community.wowza.com/u/Matej_Horvat)\
**Post date:** [September 21, 2009, 8:10pm UTC](https://community.wowza.com/t/netstream-setbuffertime-0-h-264-rtp-live-lowlatency-stuttering/588/24 "2009-09-21T20:10:40Z")

</div>

40ms is exactly the 25fps interval

[Previous page](https://community.wowza.com/t/netstream-setbuffertime-0-h-264-rtp-live-lowlatency-stuttering/588.md?page=1)
