# Latency Edit file can't be found

**URL:** <https://community.wowza.com/t/latency-edit-file-cant-be-found/41694>\
**Category:** Wowza Streaming Engine\
**Created:** [December 14, 2013, 8:18am UTC](https://community.wowza.com/t/latency-edit-file-cant-be-found/41694 "2013-12-14T08:18:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![maroun\_abou\_tanous](https://avatars.discourse-cdn.com/v4/letter/m/b9bd4f/32.png) [@maroun\_abou\_tanous](https://community.wowza.com/u/maroun_abou_tanous)\
**Post date:** [December 14, 2013, 8:18am UTC](https://community.wowza.com/t/latency-edit-file-cant-be-found/41694/1 "2013-12-14T08:18:22Z")

</div>

I am using the example file in wowza LiveVideoStreaming—\>FlashRTMPPlayer—\> player.html

I read that i can make flash buffer 0 by changing the NetStream.setBufferTime(0).

or NetStream.setBufferTime = 0

but where is the file to edit or add this function ? in wowza tutorial they say change the action script 3 file . but i don’t see any in the

FlashRTMPPlayer that they provide so what shall i do to make this player buffer = 0 .

---

<div class="post-metadata">

**Author:** ![maroun\_abou\_tanous](https://avatars.discourse-cdn.com/v4/letter/m/b9bd4f/32.png) [@maroun\_abou\_tanous](https://community.wowza.com/u/maroun_abou_tanous)\
**Post date:** [December 14, 2013, 11:13pm UTC](https://community.wowza.com/t/latency-edit-file-cant-be-found/41694/2 "2013-12-14T23:13:02Z")

</div>

For all java dev and other dev that doesnt know flash ,

what i did is the following :

download flash pro (from adobe) than go to live folder LiveVideoStreaming–\>FlashRTMPPlayer–\>live.fla

Open the fla with adobe … than go to actions (press on the visual gui Frame anywhere you want ) or press f9

The code will show

There is a varialble called buffertime , put it 0.25

dont try 0 because it will be awful lag , 0.25 was fine really .

It works now but i have to try it more on the long run, incase of bad behavior i will report back .

BTW i am using flash version 11

---

<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:** [December 15, 2013, 6:00pm UTC](https://community.wowza.com/t/latency-edit-file-cant-be-found/41694/3 "2013-12-15T18:00:17Z")

</div>

Take a look at [JW Player 6](https://www.wowza.com/docs/how-to-use-jw-player-with-wowza-streaming-engine), you can set bufferTime in the HTML container. You can do similar with Flowplayer or Adobe Playback player

Richard

---

<div class="post-metadata">

**Author:** ![maroun\_abou\_tanous](https://avatars.discourse-cdn.com/v4/letter/m/b9bd4f/32.png) [@maroun\_abou\_tanous](https://community.wowza.com/u/maroun_abou_tanous)\
**Post date:** [December 15, 2013, 1:36am UTC](https://community.wowza.com/t/latency-edit-file-cant-be-found/41694/4 "2013-12-15T01:36:23Z")

</div>

A problem occured which is … after some package lost the latency comes back .

So i was thinking that the player have nothing to do with it because we already cut the buffertime to 0.25

So it is for sure wowza Server

I entered stream.xml and made the dropframes less i took the last 0 of each from the end

= if the dropPBuffer was 2000 , it is 200 now … and so on for all others

and i choose rtp-live-lowlatency rather than live

i also entered Vhost.xml and i set the buffer to 1600 in rtp rather than 65000

I am testing it right now to see if that works , seems better than before until now 30 mins on and im still 0.25 latency (maybe i am not having package lost or maybe it works ) ill update in case it failed and another workaround will be dealt with

> For all java dev and other dev that doesnt know flash ,
> 
> what i did is the following :
> 
> download flash pro (from adobe) than go to live folder LiveVideoStreaming–\>FlashRTMPPlayer–\>live.fla
> 
> Open the fla with adobe … than go to actions (press on the visual gui Frame anywhere you want ) or press f9
> 
> The code will show
> 
> There is a varialble called buffertime , put it 0.25
> 
> dont try 0 because it will be awful lag , 0.25 was fine really .
> 
> It works now but i have to try it more on the long run, incase of bad behavior i will report back .
> 
> BTW i am using flash version 11

---

<div class="post-metadata">

**Author:** ![Gert-jan\_Dikkescheij](https://avatars.discourse-cdn.com/v4/letter/g/6f9a4e/32.png) [@Gert-jan\_Dikkescheij](https://community.wowza.com/u/Gert-jan_Dikkescheij)\
**Post date:** [October 17, 2015, 11:58am UTC](https://community.wowza.com/t/latency-edit-file-cant-be-found/41694/5 "2015-10-17T11:58:53Z")

</div>

> For all java dev and other dev that doesnt know flash ,
> 
> what i did is the following :
> 
> download flash pro (from adobe) than go to live folder LiveVideoStreaming–\>FlashRTMPPlayer–\>live.fla
> 
> Open the fla with adobe … than go to actions (press on the visual gui Frame anywhere you want ) or press f9
> 
> The code will show
> 
> There is a varialble called buffertime , put it 0.25
> 
> dont try 0 because it will be awful lag , 0.25 was fine really .
> 
> It works now but i have to try it more on the long run, incase of bad behavior i will report back .
> 
> BTW i am using flash version 11

in this article : [Low latency RTMP streaming with Wowza Streaming Engine](https://www.wowza.com/docs/how-to-set-up-low-latency-applications-in-wowza-streaming-engine-for-rtmp-streaming) the opposite is claimed, there it is stated that you should stick with buffertime = 0 otherwise you cause latency of at least 3 sec …

could you state something regarding that …
