Setting up RTMP BufferLength for JWMediaplayer

I need to setup the buffer to give the client connection a 5-10 second buffer. I have tried to hire people to help since I am kind of new to the server, but haven’t had any luck getting responses so I guess now I am looking for some tips.

I am using Wowza 2. Is the buffer controlled by the server, the client or both? I didn’t see anything in the Application.xml file that I could modify and tried using the code below on the client side but as soon as I disable my network card to test the buffer, the stream drops instantly. I tried putting the bufferlength in a couple different ways as you can see, but none of them have any effect.

Some of my users in remote areas can’t keep up with the stream without a buffer and need to get this up as soon as possible.

			<object id="player" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" name="player" width="720" height="430">
			<param name="movie" value="/jw/player.swf" />
			<param name="allowfullscreen" value="true" />
 
			<param name="allowscriptaccess" value="always" />
			<param name="flashvars" value='file=mediaxml/142.xml&username=1&bufferLength=10' />
			<param name="flashvars" value='bufferlength(10)' />
			<embed
			type="application/x-shockwave-flash"
			id="player2"
			name="player2"
			src="/jw/player.swf"
			width="720"
			height="430"
			allowscriptaccess="always"
			allowfullscreen="true"
			flashvars="file=mediaxml/142.xml&username=1&bufferLength=10"
			/></embed>
			</object>

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

And visit JW player, and use their setup Wizard:

http://www.longtailvideo.com/support/jw-player-setup-wizard

And take forums:

http://www.longtailvideo.com/support/forums

Richard

Disabling the network interface is going to simulate network failure… it is going to be actual network failure. You can use a tool called NetLimiter to simulate slower network.

Richard

So is it all client based? The stream still dies immediatly upon disconnect after implementing this.

I may be wrong in my method of testing though. I start up a stream, then under Network settings disable the NIC card. I have a hard time simulating a crappy connection like my users may have.

I seem to see a faint shadow area on the play position bar that may indicate a buffer, just not sure…