# emergnecy case- how to set netstream buffertime  and buffertimeMax

**URL:** <https://community.wowza.com/t/emergnecy-case-how-to-set-netstream-buffertime-and-buffertimemax/37924>\
**Category:** Wowza Streaming Engine\
**Created:** [April 25, 2012, 6:29am UTC](https://community.wowza.com/t/emergnecy-case-how-to-set-netstream-buffertime-and-buffertimemax/37924 "2012-04-25T06:29:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![wang\_jason](https://avatars.discourse-cdn.com/v4/letter/w/c37758/32.png) [@wang\_jason](https://community.wowza.com/u/wang_jason)\
**Post date:** [April 25, 2012, 6:29am UTC](https://community.wowza.com/t/emergnecy-case-how-to-set-netstream-buffertime-and-buffertimemax/37924/1 "2012-04-25T06:29:55Z")

</div>

We have develpoend a video conference system

If we set netstream buffer zero, some user will have bad aduio quaility even with good network connection. I think it’s problem due to clock drift problem.

If we set buffertime 0.1 and buffertimeMax 0.5, it will fix audio problem but it will bring 30 secs latency sometimes. There is no use of buffertimeMax value

it’s really frustrated.

Could anyone give some advice? thanks a lot!

I don’t know if it’s an adobe flash player bug or Wowza server problem.

---

<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:** [April 26, 2012, 12:29pm UTC](https://community.wowza.com/t/emergnecy-case-how-to-set-netstream-buffertime-and-buffertimemax/37924/2 "2012-04-26T12:29:05Z")

</div>

Take a look at the Wowza SimpleVideoStreaming example, at how it monitors bufferTime. You can monitor bufferTime, and if it gets over 5 seconds, re-start the NetStream to put the stream back in sync.

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:** [April 22, 2013, 6:09pm UTC](https://community.wowza.com/t/emergnecy-case-how-to-set-netstream-buffertime-and-buffertimemax/37924/3 "2013-04-22T18:09:38Z")

</div>

I added example of bufferTime setting for JW Player 6 in the top example in this article:

[https://www.wowza.com/docs/how-to-use-jw-player-with-wowza-streaming-engine](https://www.wowza.com/docs/how-to-use-jw-player-with-wowza-streaming-engine)

For the Wowza examples you have to edit the source code, modify the NetStream, something like nsPlay.setBufferTime(3)

Richard

---

<div class="post-metadata">

**Author:** ![Dillon\_Bussert](https://avatars.discourse-cdn.com/v4/letter/d/5daacb/32.png) [@Dillon\_Bussert](https://community.wowza.com/u/Dillon_Bussert)\
**Post date:** [April 19, 2013, 8:08pm UTC](https://community.wowza.com/t/emergnecy-case-how-to-set-netstream-buffertime-and-buffertimemax/37924/4 "2013-04-19T20:08:00Z")

</div>

> Take a look at the Wowza SimpleVideoStreaming example, at how it monitors bufferTime. You can monitor bufferTime, and if it gets over 5 seconds, re-start the NetStream to put the stream back in sync.
> 
> Richard

Richard, does 3.5 still have an example of controlling bufferTime? I see the SimpleVideoStreaming example is no longer there.
