Macromedia flash media server 2-server-side actionscript language reference Manual De Usuario

Descargar
Página de 74
42
Server Management ActionScript Language Reference
getNetStreams()
Availability
Flash Player 6.
Flash Communication Server MX 1.0.
Usage
getNetStreams(app_instance)
Parameters
app_instance
  A string that contains the name of the instance of the application, in the 
form 
application_name/instance_name
.
Returns
If the call succeeds, the server sends a reply information object with a 
level
 property of 
status
, a 
code
 property of 
NetConnection.Call.Success
, and a 
data
 property that is an 
array of numbers. The numbers represent the server-assigned IDs of all network streams that 
are currently connected to the specified instance of the application.
If the call fails, the server sends a reply information object with a 
level
 property of 
error
 
and a 
code
 property of 
NetConnection.Call.Failed
 or a more specific value, if available. 
Some objects might also have a 
description
 property that contains a string describing the 
cause of the failure.
Description
Returns an array of numbers that represent the server-assigned IDs of all the network streams 
that are currently connected to the specified instance of the application.
See also
getNetStreamStats()
Availability
Flash Player 6.
Flash Communication Server MX 1.0.
Usage
getNetStreamStats(app_instancenetstream_ID)