;

PDA

Click to See Complete Forum and Search --> : streaming flv's for dial-up users?


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?

villain2
08-18-2005, 11:49 AM
If you want to stream video for dial up users using .flv files you have to get FlashComm server ... it's designed to stream .flv files.

Go to Macromedia's website and look it up.

five-0
07-15-2006, 09:55 PM
DjRubbish: In principal, your code should work fine even for dial-up users.

The problem is with the onStatus event handler of the NetStream object: the code property of the infoObject never reports "NetStream.Buffer.Empty" and that's why you never see the buffering message. It is not related to the connection speed.

I have the same problem, and I've been searching a lot of Flash forums to find an answer but I haven't seen any so far. Only a few people seem to even recognize this problem, and it only seems to affect some .flv files and not all.

I know it's been a while since your original post, but did you ever find a solution or a good workaround?

DjRubbish
07-20-2006, 01:01 AM
hello

in the end, a decision was made NOT to offer the dialup user any video. Instead, since the video was a step-by-step "how they did it" explanation of a trick, we offered dialup users a captioned slideshow that gave the same information as the video.

This seemed like the best solution, and I think we might use it again in the future where appropriate.