|
Home > Archive > Macromedia Flash Server > November 2005 > Runtime adjustment of Buffer time according to
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Runtime adjustment of Buffer time according to
|
|
| Vivek Lakhanpal (Office) 2005-11-24, 7:45 am |
| Hi All,
I have a video streaming application in which we are using fixed buffer
time. What it does is first it fills the buffer for specified time length
and then plays it in full. Then start from 0 again. What I want is that it
shall keep on buffering the video while playing the buffered video. Is that
at all possible in FCS application?
This problem I am facing is at low bandwidth only. At higher bandwidth it
keeps on filling the buffer simultaneously while playing the content from
stored buffer.
Thanks,
Vivek
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
| |
| Naicu Octavian 2005-11-24, 7:45 am |
| This is the natural way in which buffers behave at low and high speeds, t=
here is nothing you can do about it.=20
=20
If you want to increase the low bandwith user experience you could incr=
ease the buffer for low bandwidth connections..which takes you to the que=
stion... how do I detect a low bandwidth connection? it's simple, wheneve=
r you get NetStream.Buffer.Empty you increase the buffer.
=20
"Vivek Lakhanpal (Office)" <lakhanpalV-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org> wrote:
Hi All,
I have a video streaming application in which we are using fixed buffer
time. What it does is first it fills the buffer for specified time length
and then plays it in full. Then start from 0 again. What I want is that i=
t
shall keep on buffering the video while playing the buffered video. Is th=
at
at all possible in FCS application?
This problem I am facing is at low bandwidth only. At higher bandwidth it
keeps on filling the buffer simultaneously while playing the content from
stored buffer.
Thanks,
Vivek
=3D-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=3D-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
=20
=09
---------------------------------
Yahoo! Music Unlimited - Access over 1 million songs. Try it free.
=3D-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=3D-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
| |
| erixtekila 2005-11-24, 7:45 am |
| Le 24 nov. 05, =E0 12:14, Naicu Octavian a =E9crit :
> . how do I detect a low bandwidth connection? it's simple, whenever=20
> you get NetStream.Buffer.Empty you increase the buffer.
I'm not convinced about this technic.
I thought low bandwidth means low data transfert.
Doesn't it mean that a low bandwidth never gets its Buffer fullfilled,=20=
instead of a high bandwidth one ?
Furthermore, there are other reason why you get a=20
"NetsStream.Buffer.Empty" message.
End of stream is one.
On the problem of Vivek, each time you reach the bufferLength set, you=20=
emptied it.
So my solution is : never get it empty for whatever bandwidth.
When you get a FLV 1.1, you can reach metadata informations.
That way, you'll get the length of the stream.
Just position the bufferLength on that value.
Whatever if the stream is seeked, the buffer will be emptied again=85
HTH
-----------
erixtekila
http://blog.v-i-a.net/=
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
| |
| Søren Christensen 2005-11-24, 5:48 pm |
|
Is it streaming or progressive?
You will never make never make ie. a 100kbit stream(not progressive) work o=
n
a pipe with less bw available(ie. modem). It will empty the buffer faster
than it can fill it up at any time.
For that progressive is a lot better.
Did i get your question right?
Cheers,
>B) S=F8ren
On 24/11/05 12:13, "Vivek Lakhanpal (Office)" <lakhanpalV-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org>
wrote:
> Hi All,
>=20
> I have a video streaming application in which we are using fixed buffer
> time. What it does is first it fills the buffer for specified time length
> and then plays it in full. Then start from 0 again. What I want is that i=
t
> shall keep on buffering the video while playing the buffered video. Is th=
at
> at all possible in FCS application?
>=20
> This problem I am facing is at low bandwidth only. At higher bandwidth it
> keeps on filling the buffer simultaneously while playing the content from
> stored buffer.
>=20
>=20
> Thanks,
> Vivek
>=20
> =3D-----------------------------------------------------------
> Supported by Fig Leaf Software - http://www.figleaf.com
> =3D-----------------------------------------------------------
>=20
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
|
|
|
|
|