# Setting up RTMP BufferLength for JWMediaplayer

**URL:** <https://community.wowza.com/t/setting-up-rtmp-bufferlength-for-jwmediaplayer/34917>\
**Category:** Wowza Streaming Engine\
**Created:** [August 3, 2010, 11:09am UTC](https://community.wowza.com/t/setting-up-rtmp-bufferlength-for-jwmediaplayer/34917 "2010-08-03T11:09:59Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [August 3, 2010, 8:02pm UTC](https://community.wowza.com/t/setting-up-rtmp-bufferlength-for-jwmediaplayer/34917/2 "2010-08-03T20:02:30Z")

</div>

In JW player you can set the buffer in the Flashvars. What you are doing looks correct in the embed section, but not correct in the object section. Each has to have a Flashvars line, but just one, but it should look like the one you have in embed section.

flashvars=“file=mediaxml/142.xml&username=1&bufferLength=10”

This is more complete:

flashvars=“streamer=rtmp://[wowza-address]:1935/[appName]&provider-rtmp&file=mediaxml/142.xml&username=1&bufferLength=10”

I added the streamer and provider Flashvars

In the Object section you have several params named “Flashvars”, that is not right. And the way you are setting bufferLength is correct in the embed Flashvars line “&bufferlength=10” is right. But it iswrong in the Object section, “bufferlength(10)” is wrong.

See this post:

[http://community.wowza.com/t/-/246](http://community.wowza.com/t/-/246)

And visit JW player, and use their setup Wizard:

[http://www.longtailvideo.com/support/jw-player-setup-wizard](http://www.longtailvideo.com/support/jw-player-setup-wizard)

And take forums:

[http://www.longtailvideo.com/support/forums](http://www.longtailvideo.com/support/forums)

Richard

---

_[View the full topic](https://community.wowza.com/t/setting-up-rtmp-bufferlength-for-jwmediaplayer/34917)._
