RTMP/E

 getEdgeVirtualClients(appInst:String, groupid:String) : Object

HTTP

 http://www.example.com:1111/admin/getEdgeVirtualClients?auser=username&apswd=password&appInst=name&groupid=string

Returns a list of the virtual client connections from the specified edge server. Virtual clients are clients connected to an origin server through an edge server. They are referred to as “virtual” clients because they are not connected directly to the origin.

Call getEdgeConnections()to get a value for the groupid parameter.

This method was formerly known as getGroupMembers().

Availability

Flash Media Server 2.0.

Parameters

appInst

A String indicating the name of the instance of the application to which the virtual client is connected, 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_.

groupid

A String indicating the virtual client’s client ID.

auser

A String indicating the user name of the administrator.

apswd

A String indicating the password of the administrator.

Returns

RTMP/E

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 containing the client IDs of all the individual clients connected through this virtual client.

HTTP

If the call succeeds, it returns XML like the following:

 <result>   <level>status</level>   <code>NetConnection.Call.Success</code>   <timestamp>10/23/2007 12:19:24 PM</timestamp>   <data>   <name>_defaultRoot_:_defaultVHost_:::_2</name>   <_0>DDAAQMsI</_0>   </data>  </result>

Nested in the data element are elements for each property of the data object listed in the RTMP/E section.

If the call fails, it returns XML with the following structure:

 <result>   <level>error</level>   <code>NetConnection.Call.BadValue</code>   <timestamp>10/23/2007 1:59:00 PM</timestamp>   <description>Invalid group ID (0).</description>  </result>

The XML elements contain the same information as the Object properties returned in an RTMP/E call.

Note: The timestamp response over HTTP is formatted differently on Windows (9/23/2007 6:16:40 PM) and Linux (Sun 23 Sep 2007 06:16:40 PM IST).

See also

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy