RTMP/E

 getLicenseInfo() : Object

HTTP

 http://www.example.com:1111/admin/getLicenseInfo?auser=username&apswd=password

Retrieves complete license information including information on the maximum number of connections, adaptors, and virtual hosts that are allowed by the license. This method provides resultant summary information about your licenses followed by specific information about each license. This call returns information about license keys (also called license numbers) or license file.

Availability

Flash Communication Server 1.0.

Parameters

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 object. The data object has the same properties as the data element in the XML returned by an HTTP call.

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.

HTTP

If the call succeeds, it returns XML with the following structure (this XML is for a license file):

Note: The value -1 means unlimited.

 <?xml version="1.0" encoding="utf-8" ?> <result> <level>status</level> <code>NetConnection.Call.Success</code> <timestamp>6/21/2010 10:18:28 AM</timestamp> <data> <edition>Custom</edition> <expires>Jun 01, 2011</expires> <version>4.0.0</version> <build>r1119</build> <copyright>Copyright(c) 1993-2010 Adobe Systems Incorporated. All Rights Reserved.</copyright> <max_rtmp_connections>unlimited</max_rtmp_connections> <max_rtmfp_connections>unlimited</max_rtmfp_connections> <max_adaptors>unlimited</max_adaptors> <max_vhosts>unlimited</max_vhosts> <max_core_process>unlimited</max_core_process> <http_live_timeout>unlimited</http_live_timeout> <edge>enabled</edge> <auth_plugin>enabled</auth_plugin> <access_plugin>enabled</access_plugin> <file_plugin>enabled</file_plugin> <origin>enabled</origin> <rtmfp_peer_introductions>enabled</rtmfp_peer_introductions> <ip_multicast>enabled</ip_multicast> <multicast_timeout>unlimited</multicast_timeout> <rtmfp_groups>enabled</rtmfp_groups> <license_files> <_0> <filename>fms40_expires_06-01-2011.lic</filename> <description>Adobe Internal Use</description> <type>NFR</type> <id>XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXS</id> <account_id/> <expires>Jun 01, 2011</expires> </_0> </license_files> <key_details/> </data> </result>

If the call succeeds, it returns XML with the following structure (this XML is for a license key):

 <?xml version="1.0" encoding="utf-8" ?> <result> <level>status</level> <code>NetConnection.Call.Success</code> <timestamp>6/21/2010 10:16:41 AM</timestamp> <data> <edition>Streaming</edition> <expires /> <version>4.0.0</version> <build>r1119</build> <copyright>Copyright(c) 1993-2010 Adobe Systems Incorporated. All Rights Reserved.</copyright> <max_rtmp_connections>unlimited</max_rtmp_connections> <max_rtmfp_connections>0</max_rtmfp_connections> <max_adaptors>1</max_adaptors> <max_vhosts>unlimited</max_vhosts> <max_core_process>1</max_core_process> <http_live_timeout>0</http_live_timeout> <edge>disabled</edge> <auth_plugin>disabled</auth_plugin> <access_plugin>enabled</access_plugin> <file_plugin>disabled</file_plugin> <origin>enabled</origin> <rtmfp_peer_introductions>disabled</rtmfp_peer_introductions> <ip_multicast>disabled</ip_multicast> <multicast_timeout>0</multicast_timeout> <rtmfp_groups>disabled</rtmfp_groups> <license_files /> <key_details> <_0> <key>XXXXXXXXXXXXXXXXXXXXXXXX</key> <version>3.5</version> <type>Full</type> <edition>Streaming</edition> </_0> <_1> <key>XXXXXXXXXXXXXXXXXXXXXXXX</key> <version>4.0</version> <type>Upgrade</type> <edition>Streaming</edition> </_1> </key_details> </data> </result>

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

 <result>   <level></level>   <code></code>   <description></description>   <timestamp></timestamp>  </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).

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