Issues pre-buffering multiple NetStreams
Hi,
I am running into some streaming bugs and am wondering if anyone else has come across them. Very grateful in advance for any help as I've been banging my head against this for a week now.
First of all, I'm finding that no matter what value I set for a NetStream's bufferTime property, the NetStream will not begin actually playing until the bufferLength property is over 2 seconds. This is not what Flash documentation says (that the default value of bufferLength is .1 seconds). Could this issue a function of the FMS configuration with my RTMP hosting account? Is it something I can resolve with my asc file?
Also: In my Actionscript 3 app, I need to pre-buffer a number of video streams so that any one of them can be triggered immediately later in the program. I do this by building an array of NetStreams (within a single NetConnection), then playing each of the streams I need to pre-buffer and immediately pausing each too. This is successfully causing them to buffer in the background, so that they're ready for immediate play when I need them. When I do this with just one NetStream, it works fine. But with more, the streams are behaving unpredictably. They are successfully buffering, but when I need to actually play them and I go to unpause them (Netstream.resume), the NetStreams are generally NOT playing back correctly. Their behavior is not consistent, and they mostly play with no video, or no audio OR video. The one exception is the FIRST NetStream that I started pre-buffering, which is the only one that's consistently playing back fine with its audio and video. Again, if I unpause any of the other NetStreams, they play back with just audio, or not at all. Do you have any idea why this could be happening? I have the app working perfectly with local files, so I know it has to do with the streaming piece.
Thanks so much!
