DjRubbish
08-15-2005, 09:58 AM
I'm using flash mx 2004/actionscript 2.0
My brief is to include a video streaming option for dial-up users in a flash app.
I have 2 problems
1. in no way can I get the video to stream sweetly on 56kbps even with the super-blocky lowest bitrate compression.
2. this is the code I am using to display a buffering message - it doesn't work after it has completed the initial buffer when the flv starts and I don't know why because my streamed video freezes at several points during play on dial-up and I figure it has to be buffering.
stream_ns.onStatus = function(info)
{
//getURL("javascript: alert('code='"+info.code+")");
if(info.code == "NetStream.Buffer.Full")
{
_root.buffer_clip._visible = false;
}
if(info.code == "NetStream.Buffer.Empty")
{
// getURL("javascript: alert('buffer empty');");
_root.buffer_clip._visible = true;
}
if(info.code == "NetStream.Play.Stop")
{
//getURL("javascript: alert('stopped');");
this.seek(0);
this.pause();
_root.buffer_clip._visible = false;
}
}
Most of what 'help' I can find online says "don't bother streaming video for dial-up users"
Has anyone found an answer to streaming flv's for dial-up users please?
My brief is to include a video streaming option for dial-up users in a flash app.
I have 2 problems
1. in no way can I get the video to stream sweetly on 56kbps even with the super-blocky lowest bitrate compression.
2. this is the code I am using to display a buffering message - it doesn't work after it has completed the initial buffer when the flv starts and I don't know why because my streamed video freezes at several points during play on dial-up and I figure it has to be buffering.
stream_ns.onStatus = function(info)
{
//getURL("javascript: alert('code='"+info.code+")");
if(info.code == "NetStream.Buffer.Full")
{
_root.buffer_clip._visible = false;
}
if(info.code == "NetStream.Buffer.Empty")
{
// getURL("javascript: alert('buffer empty');");
_root.buffer_clip._visible = true;
}
if(info.code == "NetStream.Play.Stop")
{
//getURL("javascript: alert('stopped');");
this.seek(0);
this.pause();
_root.buffer_clip._visible = false;
}
}
Most of what 'help' I can find online says "don't bother streaming video for dial-up users"
Has anyone found an answer to streaming flv's for dial-up users please?