0 Replies Latest reply on Nov 4, 2010 2:51 AM by kkm19

    netstream.attachcamera = how to get bytearray?

    kkm19 Level 1

      hi

       

      how to get bytearray of camera with setQuality(25000,0)?? //upload over 200kb/sec

      And so I want to put for buffertime if the bandwidth is low e.g 100kb/sec upload limit.

       

      theory only:

      camera = Camera.getCamera();
      camera.setQuality(25000,0);
      ns = new NetStream(nc);
      bytearray.attachCamera(cam); //???? I know not possible but theory only
      bytearray[0] = bytearray / 2;
      bytearray[1] = bytearray - bytearray[0]; //e.g
      netstream.send("snap", bytearray[0]); //first bytearray of attachcamera
      netstream.send("snap", bytearray[1]); //second bytearray of attachcamera
      
      

       

      THAT IS BUFFER!?!

       

      I dont want to bitmapdata because that is RAW. I want get bytearray of quality like netstream

      I hope you understand what I mean.

       

      kelvin