1 Reply Latest reply on Jun 29, 2010 9:12 AM by bringrags

    What is the default bufferTime for the OSMF player?

    Amit Kumar Adobe Employee

      Hi,

       

      I want to know what is the default buffer time for the OSMF player. And can we set it using NetMocker package using netStream.bufferTime? And when we set it once does it remain that afterwards?

       

      Regards,

      Amit

        • 1. Re: What is the default bufferTime for the OSMF player?
          bringrags Level 4

          NetMocker is used for unit testing OSMF features that depend on NetStream, it's not something that would be of much use in a production application.

           

          OSMFPlayer (and OSMF) uses the default values for the buffer for  progressive and RTMP streaming video.  For HTTP streaming video, OSMFPlayer (but not OSMF) uses an adapative algorithm to set the buffer (see HTTPStreamingNetLoaderWithBufferControl). You can set the buffer time via MediaPlayer.bufferTime, and it should retain its value.