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?
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.