getGroupStats()
31
getGroupStats()
Availability
■
Flash Player 6.
■
Flash Media Server 2.
Usage
getGroupStats(
app_instance
,
groupNumber
)
Parameters
app_instance
A string that contains the name of the instance of the application on which
the group resides, in the form
application_name
/
instance_name
. You must specify both
the application name and the instance name, separated by a slash (
/
), even if you want
performance statistics for the default instance of the application.
For example, to specify the default instance for an application named
ChatApp
, specify
ChatApp/_defInst_
.
groupNumber
A number that contains the group’s client ID.
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
object containing the client performance data. The
data
object has the following properties:
Property
Description
connect_time
ActionScript Date object; time the application connected to the server.
protocol
String; protocol used by the client to connect to the server (rtmp or rtmpt).
msg_in
Number; total number of messages processed by this application.
msg_out
Number; total number of messages sent by this application.
msg_dropped
Number; total number of messages dropped by this application.
bytes_in
Number; total number of bytes read by this application.
bytes_out
Number; total number of bytes written by this application.
msg_queue
Object; client message queue statistics.
total_queues
Number; total number of queues for this client.
audio
Number; total number of audio messages in all audio queues.
video
Number; total number of video messages in all video queues.
other
Number; total number of cmd/data messages in the “other” queue.