MACROMEDIA FLASH MEDIA SERVER 2-SERVER-SIDE ACTIONSCRIPT LANGUAGE Reference page 22

Server-side actionscript language reference
Table of Contents

Advertisement

The
parameter specifies the location and name of a stream, relative to the
streamPath
application's instance directory. You can include a slash (/) as a delimiter between directories
in the path. The last element in the path can contain wildcard patterns (for example, a
question mark [?] and an asterisk [*]) or a stream name. The
method traverses the stream hierarchy along the specified path and clears all the recorded
streams that match the given wildcard pattern. Specifying a slash clears all the streams
associated with an application instance.
To clear MP3 files associated with the application instance, precede the path to the stream
with
(for example,
mp3:
method clears only recorded FLV streams. You can also explicitly clear only FLV streams by
placing
before the stream path (for example,
flv:
Example section for examples of clearing FLV and MP3 files.
The following examples show some possible values for the
or
clears all recorded (FLV) streams associated with the instance.
/
flv:/
clears the stream file report.flv from the application instance directory.
/report
/presentations/intro
instance's /presentations subdirectory; if
/presentations/*
presentations subdirectory. The /presentation subdirectory is also deleted if no streams are
used in this namespace.
clears all MP3 files associated with the instance.
mp3:/
mp3:/mozart/requiem
instance's /mozart subdirectory.
clears all MP3 file from the application instance's /mozart subdirectory.
mp3:/mozart/*
/presentations/report??
followed by any two characters. If there are directories within the given directory listing,
the directories are cleared of any streams that match
If an
application.clearStreams()
recording, the recorded file is set to length 0 (cleared), and the internal cached data is also
cleared.
You can also use the Server Management ActionScript API
all the resources for a single instance.
22
Server-Side ActionScript Language Reference
). By default, the
mp3:/streamPath
clears the recorded stream file intro.flv from the application
intro
clears all recorded stream files stored from the application instance's /
clears the MP3 file named requiem.mp3 from the application
clears all recorded (FLV) streams that begin with "report",
method is invoked on a stream that is currently
application.clearStreams()
application.clearStreams()
). See the following
flv:/streamPath
streamPath
is a directory name, no streams are deleted.
.
report??
removeApp
parameter:
method to delete

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash media server 2

Table of Contents