Discussion Area

ask questions, discuss topics, solve problems

This is a public Discussion Area  publicRSS

Thread

    • NetStream buffer problem in Internet Explorer
      Thread posted Oct 27 by leo_lopez
      200 Views, 0 Comments
      Title:
      NetStream buffer problem in Internet Explorer
      Content:


      i've a very strange problem with a NetStream Buffer only in Internet Explorer (flash player version 10,0,32,18).

      When I connect to a netstream I use this:

      var videoOpe:Video=new Video();
      var stream="name live stream";
      var nsOpe = new NetStream(nc);     //nc is an active netConnection
      nsOpe.bufferTime=1;
      nsOpe.client=this;
      nsOpe.play(stream, -1,-1)
      videoOpe.attachNetStream(nsOpe);
                                       nsOpe.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);                   nsOpe.addEventListener(AsyncErrorEvent.ASYNC_ERROR, asyncErrorHandler);

      Well, in mozilla, safari, opera and when I compile in flash, evrything works fine. But in IE I see like a double buffer, this is what I see if I do a trace of NET_STATUS:

      NetStream.Play.Reset
      bufferLength: 0.001
      NetStream.Play.Start
      bufferLength: 0.001
      NetStream.Buffer.Full
      bufferLength: 1.021
      NetStream.Buffer.Empty
      bufferLength: 0
      NetStream.Buffer.Full
      bufferLength: 0.857

      It doesn't matter the bufferTime I put.
      Any idea??

      Thanks