Accessibility

TechNote (Archived)

BitmapData.draw fails to capture streaming video

Issue


If you attempt to use BitmapData.draw to capture a Flash Video file (FLV) streamed from a Flash Media Server on a domain other than the domain in which the current Flash Player movie (SWF) is located, BitmapData.draw will fail to capture imagery from your video.

Reason


This is a security restriction imposed by Flash Player.

Solution


In Flash Player 8, BitmapData.draw will be able to capture video only if your FLV streams from a Flash Media Server on the same domain or subdomain as the web server that is serving up the SWF connecting to your Flash Media Server.

In Flash Player 9, this feature is obsolete, and streaming video cannot be captured by BitmapData.draw regardless of whether or not both the FLV and the SWF reside on the same domain or subdomain.

AlertThis content requires Flash

To view this content, JavaScript must be enabled, and you need the latest version of the Adobe Flash Player.

Download the free Flash Player now!

Get Adobe Flash Player

Creative Commons License

Search Support


Document Details

ID:7c90fec7

Products Affected:

flashmediaserver
flashplayer