Bitmap data & FMS 3.5
Hi,
I'm having a problem with using BitmapData with streaming video from Flash Media Server 3.5. What I'm trying to do, is a virtual videowall, with 3x2 grid if videos streaming from FMS. The wall is made with Papervision 3D, so the videos need to be drawn to the bitmapdata that is used as texture on the 3D object. I'm new to Flash Media Server, so I'm probably doing something from.
I know I need to allow sample access, which I did in Application.xml for the dafault VOD service and the Application.xml in the _defaultVHost_ folder. Like this:
<Application>
<Client>
<Access>
<AudioSampleAccess enabled="true">/</AudioSampleAccess>
<VideoSampleAccess enabled="true">/</VideoSampleAccess>
</Access>
</Client>
</Application>
It works occasionally and some times it doesn't, so sometimes I still get the security sandbox violation error from using bitmapdata. What I also noticed that it seems to work better, If I wait for metadata before adding the streams to Video object and add the Video object to display list. Problem with that is, that for some reason, occasionally not all videos send metadata (even though I'm using the same video for all the concurrent streams).
The server is running on my workstation so I'm connecting to localhost and I've added the swf file to the trusted list from security settings. Because it's running on my workstation, there's no regular web server, so I can't use crossdomain.xml. Could that be a problem?
Any ideas what I should do? Or is it even possible to do what I'm trying to do?
