BitmapData.draw() RTMP streaming

In many circumstances you may want to use BitmapData.draw() method to draw a Video Object into a Bitmap. Perhaps you want to take a ‘snapshot’ of a video stream,or to create some effects within the stream. If the stream is carried by http protocal,you just have to place a crossdomain.xml file on the domain where your flv files are.

However,there is no such policy file could be applied with rtmp protocal. So you should follow these two ways below to configure FMS setting. Either of them is OK.

1.Add this in FMS server side main.asc file:


2.If you are using FMSS(not the full version of FMS),you have no way to define server side Script. Then you can open the global config xml file,locate the VideoSampleAccess Tag,edit the node value. Note it must be a stroke as the node value:

<VideoSampleAccess enabled="true">/</VideoSampleAccess>

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s