1 Reply Latest reply on Jun 18, 2007 10:43 AM by Newsgroup_User

    Disable NetStream from caching to disk

    Tim_H.
      I am hosting a large video stream on localhost, and I am attempting to play it back through flash. I'm only interested in realtime playback, so I do not need seeking or buffering functionality. From my understanding from the NetSream class documentation and by watching disk access in filemon, it will download video data as fast as possible on to disk and then play back in accordance with the BufferTime parameter.

      Is there a way to eliminate this buffering and simply play data as it comes in frame by frame? I ask because I believe disk I/O caused by the reading-writing-reading process is my performance bottleneck. I also have a very tight cpu budget and therefore cannot afford to use the more thorough compression formats.

      Would the FlaschCom server be necessary to enable this scenario?

      Thanks,
      Tim
        • 1. Re: Disable NetStream from caching to disk
          Level 7
          Tim,

          > From my understanding from the NetSream class documentation
          > and by watching disk access in filemon, it will download video data
          > as fast as possible on to disk and then play back in accordance
          > with the BufferTime parameter.

          Yes. Your NetStream instance is either connected to a null reference,
          which means you're requesting FLV files via HTTP, or it's connected to a
          streaming server. Unless you use Flash Media Server or something like it
          (see Red 5 on osflash.org), your video files will load to the client's hard
          drive.


          David Stiller
          Adobe Community Expert
          Dev blog, http://www.quip.net/blog/
          "Luck is the residue of good design."