2 Replies Latest reply on Feb 5, 2011 7:14 AM by romked

    Is there a working example of NetStream.videoSampleAccess?

    Robin Hawkes

      Hello,

       

      I'm currently building a browser-based application using Stratus. So far everything is working fine and I understand how it all works.

       

      The problem is when I try to manipulate the pixel data of the incoming remote video stream using BitmapData.draw(). What happens is that I get a sandbox security error, which is understandable.

       

      To solve this I wanted to use the new NetStream.videoSampleAccess property, but I just can't seem to get it working. It doesn't matter which netstream object I set the property on, or where I set it, I get the same error message. "The NetStream Object is invalid. This may be due to a failed NetConnection".

       

      What's interesting is I can achieve the same functionality by using the NetStream.send("|RtmpSampleAccess",true,true) trick.

       

      Does anyone have a working example with NetStream.videoSampleAccess? Or any idea why I could be receiving this error?

       

      Regards,

      Rob