User Guide

getNetStreamStats() 43
Parameters
app_instance A string that contains the name of the instance of the application, in the
form
application_name/instance_name.
netstream_ID A number that represents the ID of the network stream or an array of
numbers that represents the network stream ID.
To get information for all the network streams that are currently connected, specify a value of
-1 for the
netstream_ID parameter.
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 statistics for the network stream. Each element in the array is an object that has the
following properties:
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
Gets detailed information for one or more network streams that are connecting to the
specified instance of an application.
See also
getNetStreams()
Property Name
stream_id
Number; stream ID.
name
String; stream name or empty if the stream is idle.
type
String; stream type. Possible values are shown in the following list:
idle
publishing
playing live
play recorded
client
Number; user ID.
time
ActionScript Date object; possible values are shown in the following list:
If
type = idle, value is 0.
If
type = publishing, value is the time the stream was published.
If
type = playing live, value is the time the playback of the stream started.
If
type = play recorded, value is the time the playback of the stream started.