A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: streaming flv's for dial-up users?

  1. #1
    Senior Member
    Join Date
    Jul 2003
    Location
    Reading, UK
    Posts
    149

    streaming flv's for dial-up users?

    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.

    PHP Code:
    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?
    Last edited by DjRubbish; 08-15-2005 at 10:05 AM.

  2. #2
    Perverse Futurist villain2's Avatar
    Join Date
    Sep 2002
    Location
    Baltimore, MD
    Posts
    891
    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.

  3. #3
    Junior Member
    Join Date
    Jul 2006
    Posts
    5
    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?

  4. #4
    Senior Member
    Join Date
    Jul 2003
    Location
    Reading, UK
    Posts
    149
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center