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?
I was also struggling to find a solution to this problem. At the end I've also used the workaround NetStream.send("|RtmpSampleAccess",true,true)
Did you have any luck?
have issues as well. the RTMPAcess seemed not to work for me or the videoSampleAccess caused the plug-in to crash in the browser.