MACROMEDIA FLASH MEDIA SERVER 2-CLIENT-SIDE ACTIONSCRIPT LANGUAGE REFERENCE FOR FLASH MEDIA SERVER 2 Reference page 82

Client-side actionscript language reference for flash media server 2
Table of Contents

Advertisement

NetStream.attachVideo()
Availability
Flash Player 6.
Flash Communication Server MX 1.0.
Usage
public attachVideo(source : Camera [, snapShotMilliseconds : Number])
Parameters
The source of the video transmission. Valid values are a Camera object (which starts
source
capturing video) and
parameters you send are ignored.
snapShotMilliseconds
continuous, a single frame, or a series of single frames used to create time-lapse photography.
If this parameter is omitted, Flash captures all video until you issue
my_ns.attachVideo(null)
If you pass 0, Flash captures only a single video frame. Use this value to transmit
"snapshots" within a preexisting stream.
Flash interprets invalid, negative, or nonnumeric arguments as 0.
If you pass a positive number, Flash captures a single video frame and then appends a
pause of length
snapShotMilliseconds
create time-lapse photography effects.
Returns
Nothing.
Description
Method; starts capturing video from the specified source, or stops capturing if
. This method is available only to the publisher of the specified stream.
null
82
Client-Side ActionScript Language Reference
. If you pass
null
null
An optional integer that specifies whether the video stream is
.
, Flash stops capturing video, and any additional
as a "trailer" on the snapshot. Use this value to
is
source

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MEDIA SERVER 2-CLIENT-SIDE ACTIONSCRIPT LANGUAGE REFERENCE FOR FLASH MEDIA SERVER 2 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Media server 2

Table of Contents